Make an image file out of a UIImageView

Discussion in 'iOS Programming' started by spaceman816, Jun 5, 2010.

  1. spaceman816 macrumors member

    Joined:
    Jul 29, 2009
    #1
    Is it possible to create an image file (jpeg, etc.) out of a UIImageView that consists of a user-inputted drawing (CGContext) for emailing or other use?
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
  3. spaceman816 thread starter macrumors member

    Joined:
    Jul 29, 2009
    #3
    Thanks
    I couldn't find anything on this because I wasn't sure what to search for.
     
  4. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
    Why Apple decided to make it a function instead of a method (category) on UIImage is beyond me. Probably some intern implemented it ;)
     
  5. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #5
    I would suspect that it's technically part of Core Graphics (I haven't actually checked). It's pure C/all functions...
     

Share This Page