1

I got a 640x960 UIImage of the screen, which is nice and crisp when re-displayed on the retina display. I'm thinking of a way to convert this image into a nice crisp PDF document page.

How would I go about converting a UIImage into a PDF page?

Do I need to make the resulting PDF to be 640x960, or does PDF automatically scale content (ex: 320x480 with the scale factor of 2)?

Thank you!

Alex Stone
  • 46,408
  • 55
  • 231
  • 407

2 Answers2

1

You will have to scale it by yourself. This link would help you in converting view to PDF.

Community
  • 1
  • 1
Vignesh
  • 10,205
  • 2
  • 35
  • 73
0

UIGraphicsBeginImageContext(CGSize size); - not retina UIGraphicsBeginImageContextWithOptions(CGSize size, BOOL opaque, CGFloat scale) - retina

Dmutro
  • 1