S spaceman816 macrumors member Original poster Jul 29, 2009 30 0 Jun 5, 2010 #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?
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?
K kainjow Moderator emeritus Jun 15, 2000 7,958 7 Jun 5, 2010 #2 You can use UIImageJPEGRepresentation().
S spaceman816 macrumors member Original poster Jul 29, 2009 30 0 Jun 6, 2010 #3 Thanks I couldn't find anything on this because I wasn't sure what to search for.
K kainjow Moderator emeritus Jun 15, 2000 7,958 7 Jun 16, 2010 #4 Why Apple decided to make it a function instead of a method (category) on UIImage is beyond me. Probably some intern implemented it
Why Apple decided to make it a function instead of a method (category) on UIImage is beyond me. Probably some intern implemented it
robbieduncan Moderator emeritus Jul 24, 2002 25,611 893 Harrogate Jun 17, 2010 #5 kainjow said: Why Apple decided to make it a function instead of a method (category) on UIImage is beyond me. Probably some intern implemented it Click to expand... I would suspect that it's technically part of Core Graphics (I haven't actually checked). It's pure C/all functions...
kainjow said: Why Apple decided to make it a function instead of a method (category) on UIImage is beyond me. Probably some intern implemented it Click to expand... I would suspect that it's technically part of Core Graphics (I haven't actually checked). It's pure C/all functions...