On Aug 11, 2010, at 8:42 PM, John Calhoun wrote:

> On Aug 11, 2010, at 5:27 PM, Brian Postow wrote:
>> Is there any way to get access to the xObjects in the PDFPage, other than 
>> parsing through the PDF data?
> 
> Unfortunately, no. Hackish as it may be, perhaps you can store the original 
> image resolution/size as metadata in the PDF.
> 

Am I allowed to invent metaData to put into my PDFs? hmmm, yeah, that's pretty 
hackish...

> All this back and forth between bitmap formats and PDF-as-container format 
> though has me wondering if there isn't a better way. I don't know what you're 
> trying to accomplish though so perhaps you have the optimal solution.

Oh, I realized that already. I got rid of the PDF as container. instead I have 
an NSMutableArray of CGImages. (actually a simple class with a CGImage and the 
resolution)
 Now I'm worried about loading PDF files that have been saved...


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

This email sent to [email protected]

Reply via email to