Re: CGImage to NSImage, or PDFPage?
Re: CGImage to NSImage, or PDFPage?
- Subject: Re: CGImage to NSImage, or PDFPage?
- From: Brian Postow <email@hidden>
- Date: Wed, 11 Aug 2010 13:50:00 -0400
On Aug 10, 2010, at 6:49 PM, Brian Postow wrote:
Also, I know that a PDF File stores the resolution for each image that's on a page, however, once I've turned it into a PDFDocument/PDFPage, is there any way to get the resolution out?
I happen to know that every page in the document is a separate, single image with (probably) non-72DPI resolution, created with initWithImage, with an NSImage that has it's size in 72DPI points, but it's one representation's size in pixels.
I know that that information is in there somewhere, but all of the boxes are in user units (72dpi), not pixels...
Brian Postow
Senior Software Engineer
Acordex Imaging Systems
_______________________________________________
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