image to PDF file

Discussion in 'iOS Programming' started by micnguyen, Jul 28, 2009.

  1. micnguyen macrumors newbie

    Joined:
    Jul 28, 2009
    #1
    are there any ways to convert an images file to pdf file ???

    Thanks
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    AFAIK, not directly. But you can create a CGContextRef that represents a PDF via CGPDFContextCreate() or CGPDFContextCreateWithURL() and then draw your image or whatever you want into that context.
     

Share This Page