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>
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 mails | Author | Date |
|---|---|---|
| Mario Gajardo Tass… | Feb 17, 14:52 | |
| Antonio Nunes | Feb 17, 17:13 | |
| John Calhoun | Feb 26, 21:17 |






Cocoa mail archive

