pdf icon

Ken Ray kray at sonsothunder.com
Fri Jan 14 11:05:44 EST 2005


On 1/14/05 6:31 AM, "bassamnaji" <bassamnaji at cox.net> wrote:

> Hi all,
>             How can I make a pdf thumbnail of my pdf documents, or just
> convert say 1st page of the pdf doc to a jpeg picture, and use it to link?

Well, if this is for OS X only, you could use a QuickTime movie object, set
its 'filename' property to the path to the pdf (which would then display the
first page inside the movie object), then scale the object down to thumbnail
size, then do an 'import snapshot from <rect>' to get a thumbnail image.
Finally, delete the movie object. You can then do anything you want with the
thumbnail image (put it into a field, attach it as an icon to a button, use
it "raw", etc.).

As for Windows, I don't know how this could be done... perhaps someone else
on the list does?
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list