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: Warren Dodge <email@hidden>
- Date: Wed, 31 Mar 2010 16:31:04 -0700
On Mar 31, 2010, at 3:43 PM, Laurent Daudelin wrote:
> I'd like to open a PDF document and capture the first page in an NSImage. I've just did an overview of PDFKit but it doesn't seem there is any method/class I can use to do that easily.
NSImage supports the first page of PDFs out of the box. Just create the NSImage as usual with -initWithContentsOfURL:, etc.
Warren
_______________________________________________
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