crop command

Richmond richmondmathewson at gmail.com
Thu Oct 21 14:16:24 EDT 2010


On 10/21/2010 09:11 PM, Vokey, John wrote:
> LiveCode graphics gurus:
>    I have to process a few thousand photograph files through a simple set of manipulations that scales, translates and rotates the images to a common standard, and then crops them to a fixed size.  The code is simple, except apparently the crop command doesn't work on file-based image objects.  How do I manipulate the file-based image to allow for the crop command?
> --
> Please avoid sending me Word or PowerPoint attachments.
> See<http://www.gnu.org/philosophy/no-word-attachments.html>
>

You probably have to import each image into a stack, crop the thing, and 
export it again.

Yup; I know that doesn't really answer your question as you probably 
want to avoid that
import-export dance, however I do think that that is probably unavoidable.



More information about the use-livecode mailing list