iPhone: Going from transformed layers to jpeg
Posted
by Devin Ross
on Stack Overflow
See other posts from Stack Overflow
or by Devin Ross
Published on 2010-05-27T08:08:00Z
Indexed on
2010/05/27
8:11 UTC
Read the original article
Hit count: 174
iphone
|cocoa-touch
I have a bunch of images that are transformed (using touch gestures). I want to take the transformations the user does to the images and create a jpeg from it. (ie. if a user rotates a photo to the right, I want to get a jpeg of the photo rotate to the right just as the looks on screen). This takes into account that the photo could be bigger than whats displayed on screen too (no screenshots).
I'm trying to use CGContext (CGContextRotateCTM specifically) but its not been too successful.
Thanks for the help.
© Stack Overflow or respective owner