Image Orientation Different?
Hi,
I have been trying to load up images in a custom view class that inherits from UIView. It mostly involves converting between UIImage and CGImage and using Quartz function to draw them. This has been working fine in the simulator, until I ran the code on the iphone and try to load up images from the photo library. All the images from the photo library are loaded rotated 90 degrees. However, the same image display code works fine for images loaded from the web....
Any ideas? Am I supposed to write code to figure out if the images are from the photo library, and display them differently? or is there some automatic way to handling this?
Thanks
|