how to convert NSData to PDFDocImage - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: how to convert NSData to PDFDocImage

how to convert NSData to PDFDocImage 2 years 3 months ago #11472

  • Shades
  • Shades's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 37
  • Thank you received: 0
Hi,

I am using the last version of Radaee,I see that the function
addAnnotBitmap
has changed.I would like to know how to convert NSData to PDFDocImage?

Thank you

Please Log in or Create an account to join the conversation.

how to convert NSData to PDFDocImage 2 years 3 months ago #11475

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 542
  • Karma: 21
  • Thank you received: 65
Hi,

you can create PDFDocImage in this way:
NSString *path = @"path_to_image";
PDFDocImage *i = [m_doc newImageJPEG:path];
Unfortunately there is not a specific method to convert NSData to PDFDocImage
The following user(s) said Thank You: Shades

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum