Re: Making JPEG thumbnails of PDF files
Re: Making JPEG thumbnails of PDF files
- Subject: Re: Making JPEG thumbnails of PDF files
- From: Shane Stanley <email@hidden>
- Date: Wed, 10 Oct 2001 20:40:25 +1000
On 10/10/01 7:34 PM +1000, Simon Forster, email@hidden, wrote:
>
I need a simple, AppleScriptable way of creating JPEG thumbnails from
>
PDF originals in Mac OS 9.x. The best option so far seems to be Acrobat
>
5.0 which'll convert a file to JPEGs which I can then resize. However,
>
Acrobat's Save As JPEG option does not seem to be AppleScriptable (in
>
fact I find Acrobats's dictionary very opaque) and I really do not want
>
to use Prefab Player!
>
>
Is Acrobat 5.0 the best tool for the job?
>
>
Can I script this in a simple manner? (Well, obviously I cannot at the
>
moment 'cause otherwise I wouldn't be writing this email :-)
>
>
Anyone got any ideas or code snippets to help me in this incredibly
>
simple sounding task?
I'd be inclined to save them as TIFFs if you're going to resize them
(presumably in GraphicConverter or Clip2gif). Play with this:
tell application "Acrobat 5.0"
activate
save document docName to file tiffPath using conversion 6
end tell
You need the activate, and it uses the settings last used in the UI. And
JPEG is conversion 2.
--
Shane Stanley, email@hidden