Re: Resizing image in image events
Re: Resizing image in image events
- Subject: Re: Resizing image in image events
- From: "Gary (Lists)" <email@hidden>
- Date: Fri, 12 May 2006 13:52:49 -0400
> Am 12.05.2006 um 17:15 schrieb Steve Suranie:
>
>> Is there a formula I can use to take any size image greater than 135 pixels
>> and resize it down to 135 pixels? For example, if I had images that were
>> 3000, 2400 and 1800 pixels in height, I want to resize each so that they are
>> 135 pixels in height and the width resizes proportionally.
"Peter Waibel" wrote:
> Try to use the "to size" option for the scale command:
>
> scale: Scale an image
> scale reference -- the object for the command
> [by factor real] -- scale using a scalefactor
> [to size integer] -- scale using a max width/length
Good reference, except this wouldn't be useful to the OP, based on what I
read.
Steve...
1. wanted to scale by a controlled height, and
2. was unsure of how to derive the real number 'factor' which would be
needed to use the 'by [factor real]' parameter.
Still, good reference.
('sips' is the command line/shell tool that one should examine for more
native control over image data. Image Events is a wrapper around this tool.)
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden