Re: Exporting pdf to jpeg using preview
Re: Exporting pdf to jpeg using preview
- Subject: Re: Exporting pdf to jpeg using preview
- From: Roy Whelden <email@hidden>
- Date: Thu, 11 Nov 2004 12:13:44 -0800
Hello Bernardo,
If you have Panther (10.3) you have access to Image Events, a faceless application for image
processing which is in turn an applescript front for a Unix utility called sips.
Here is a script, adapted from one provided by Apple on
http://www.apple.com/applescript/imageevents/03.html,
which will do what you want. Hope this works.
-----------------------------------------------
set x to choose file
set the y to (choose file name default name "newimage.jpg") as string
try
tell application "Image Events"
launch
-- open the image file
set z to open x
-- save in new file
save z as JPEG in file y
-- purge the open image data
close z
end tell
on error errormessage
display dialog errormessage
end try
-----------------------------------------
_______________________________________________
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