• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating thumbnail of PDF document first page?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Creating thumbnail of PDF document first page? (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Adding Rows to a Table View
  • Next by Date: Re: Creating thumbnail of PDF document first page?
  • Previous by thread: Re: Creating thumbnail of PDF document first page?
  • Next by thread: Cocoa Help Menu
  • Index(es):
    • Date
    • Thread