Re: Help with displaying encrypted PDF image
Re: Help with displaying encrypted PDF image
- Subject: Re: Help with displaying encrypted PDF image
- From: John Calhoun <email@hidden>
- Date: Tue, 26 Feb 2008 12:17:23 -0800
On Feb 17, 2008, at 5:52 AM, Mario Gajardo Tassara wrote:
Hi, im trying to displaying encrypted pdf formated images in cocoa.
this is my code to load these images, but nothing is displayed,
however non encrypted pdf displayed with zero problems. All my
encrypted images seems to be decrypted because the printf statement
"unlocked" is reached always.
Yes, for an encrypted PDF document, -[PDFDocument dataRepresentation],
-[PDFDocument writeToURL:], etc. do nothing.
You can still get the image data by hand by drawing the PDFPage into a
CGPDFContext.
John Calhoun—_______________________________________________
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