Thanks John i will try the Quartz direct drawing approach.


El 26-02-2008, a las 19:12, [EMAIL PROTECTED] escribió:

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 (Cocoa-dev@lists.apple.com)

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