Hi,

Images are stored as "XObjects" in the PDF Stream. Either you can parse the 
stream yourself, or you use the Voyeur.app sample code, and you will get the 
image with its size.

Regards,
Rafael

Le 11 août 2010 à 13:50, Brian Postow a écrit :

> 
> 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 protected])
> 
> 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/rafael.cerioli%40gmail.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to