Re: [AS] Image Events and GIF
Re: [AS] Image Events and GIF
- Subject: Re: [AS] Image Events and GIF
- From: Richard Rönnbäck <email@hidden>
- Date: Wed, 08 Mar 2006 08:21:57 +0100
- Thread-topic: [AS] Image Events and GIF
It is however a bit peculiar that GIF is not supported, because as I
understand it Image Events is basically an AppleScript interface to the
"sips" command, and in sips' man pages it says:
format string jpeg | tiff | png | gif | jp2 | pict | bmp |
qtif | psd
and I just confirmed that it works, here is a sample:
do shell script "sips --setProperty format gif --setProperty formatOptions
default /Users/richardr/Desktop/testfil.ai --out
/Users/richardr/Desktop/testfil.gif"
(should of course go on one line, no line breaks)
-------------------------------------------------
Richard Rönnbäck
Publishing-konsult
email@hidden
Helsingörsgatan 24
164 44 KISTA
SWEDEN
+46 (0) 8 444 06 08
+46 (0) 70 774 06 08
-------------------------------------------------
-------------------------------------------------
Richard Rönnbäck
Publishing-konsult
email@hidden
Helsingörsgatan 24
164 44 KISTA
SWEDEN
+46 (0) 8 444 06 08
+46 (0) 70 774 06 08
-------------------------------------------------
> Från: kai <email@hidden>
> Datum: Tue, 7 Mar 2006 21:08:13 +0000
> Till: AppleScript-Users Mail <email@hidden>
> Ämne: Re: [AS] Image Events and GIF
>
>
> On 7 Mar 2006, at 07:07, Yvan KOENIG wrote:
>
>> Edited lines:
>>> property done_foldername : "GIF Images"
>>>
>>> property newimage_extension : "gif"
>>>
>>> save this_image as GIF in file target_path with icon
>>
>> The script does its duty but in fact, in the "GIF Images" folder I
>> get files with the "gif" extension name but the same contents as
>> the original.
>
> Hi Yvan.
>
> According to its AS dictionary, Image Events is able to save in the
> following formats: BMP/JPEG/JPEG2/PICT/PNG/PSD/QuickTime Image/TIFF.
> I suspect that, on realising that it can't save in the requested
> format, Image Events reverts to its default save format (which is to
> make no change). I agree that an error message in such instances
> would be helpful.
>
> ---
> kai
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> edband.net
>
> This email sent to email@hidden
_______________________________________________
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