Re: Creating thumbnail of PDF document first page?
Re: Creating thumbnail of PDF document first page?
- Subject: Re: Creating thumbnail of PDF document first page?
- From: Laurent Daudelin <email@hidden>
- Date: Wed, 31 Mar 2010 17:35:19 -0700
On Mar 31, 2010, at 15:58, Martin Wierschin wrote:
>> I'd like to open a PDF document and capture the first page in an NSImage.
>
> If I remember correctly, if you init an NSImage with some PDF data/file it will automatically draw just the first page. But I don't know if that's documented anywhere.
>
> ~Martin
Martin (and Warren),
Thanks a million! That works beautifully!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden