Has anyone found a way to save a photo with the correct orientation? For example, in a landscape orientation, saving a rotated image using ofxiPhoneScreenGrab.
looking for the same thing, someone already solved that issue? thnx.
Curious about this as well! Thanks in advance if anyone has figured it out.
I was able to get it working by passing the orientation into the iniWithCGImage function in ofxiPhoneScreenGrab():
UIImage *image = [[UIImage alloc] initWithCGImage:imageRef scale:1.0 orientation:UIImageOrientationRight];
In theory i suppose you could detect the device orientation and pass that in instead of a hardcoded value too.