Skip navigation.
 
mlRe: Help with displaying encrypted PDF image
FROM : John Calhoun
DATE : Tue Feb 26 21:17:23 2008

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_removed>)

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/<email_removed>

This email sent to <email_removed>

Related mailsAuthorDate
mlHelp with displaying encrypted PDF image Mario Gajardo Tass… Feb 17, 14:52
mlRe: Help with displaying encrypted PDF image Antonio Nunes Feb 17, 17:13
mlRe: Help with displaying encrypted PDF image John Calhoun Feb 26, 21:17