• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Exporting pdf to jpeg using preview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Exporting pdf to jpeg using preview
  • Next by Date: RE: GUI Scripting and Acrobat 6 Pro
  • Previous by thread: Re: Exporting pdf to jpeg using preview
  • Next by thread: strcat in applescript?
  • Index(es):
    • Date
    • Thread