Reputation: 1883
I want to convert jepg file into pdf file in an iphone application...
Do anyone know any link or tutorial or any idea about this?
Upvotes: 2
Views: 6616
Reputation: 135550
All you can do is load the image file and draw it into a newly created PDF context:
UIImage
.CGPDFContextCreate()
or CGPDFContextCreateWithURL()
.CGPDFContextBeginPage()
.CGPDFContextEndPage()
and CGPDFContextClose()
.Upvotes: 5