site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com