• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help with displaying encrypted PDF image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Help with displaying encrypted PDF image (From: Mario Gajardo Tassara <email@hidden>)

  • Prev by Date: Re: Event Logging
  • Next by Date: removeFrameUsingName: doesn't?
  • Previous by thread: Re: Help with displaying encrypted PDF image
  • Next by thread: NSOutlineView, NSTreeController and Sample Code "Source View"
  • Index(es):
    • Date
    • Thread