• 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
Saving an annotated PDF to a flat image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving an annotated PDF to a flat image


  • Subject: Saving an annotated PDF to a flat image
  • From: Danny Greg <email@hidden>
  • Date: Tue, 23 Sep 2008 12:11:54 +0100

Hi list,

I am trying to save a PDF annotated using subclasses of PDFAnnotation to an image (such as a png, jpg etc) or a PDF such that the annotations are displayed. So the resulting image should be annotated.

I have tried a couple of routes such as trying to draw the annotations on an invisible PDFView subclass and then dumping the view's contents with dataWithPDFInsideRect:, but it appears that unless the view is actually drawn on screen then all you get is a white page. The PDFView should not be visible on screen at the time of saving.

The annotations themselves do not need to be editable.

Any ideas?

Thanks.

Realmac Software
Danny Greg, Cocoa Junior

We are Realmac Software. We make nice things for Apple Macs.

Mobile: 07515 337867
Office: 01273 622990
Website: www.realmacsoftware.com

Office 4, 100 North Road
Brighton, BN1 1YE
United Kingdom



_______________________________________________

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


  • Follow-Ups:
    • Re: Saving an annotated PDF to a flat image
      • From: John Calhoun <email@hidden>
  • Prev by Date: Re: Menu item issues when programmatically updating an application's main menu
  • Next by Date: Re: Properties and bindings
  • Previous by thread: Re: NSMutableURLRequest setHTTPBody
  • Next by thread: Re: Saving an annotated PDF to a flat image
  • Index(es):
    • Date
    • Thread