开发者

Rotate UIImage (a lot harder than it should be)

I have an app that uses the camera to take a picture and upload it to a server. The pro开发者_高级运维blem is once it gets to the server it is rotated. I know this is related to the EXIF meta data on the image that rotates it in the iPhone.

I've tried a few solutions found here at StackOverflow and I also tried putting the image into an imageView then drawing the image with UIImageJPEGRepresentation. Nothing seems to get the job done.

Has anyone here encountered this and found a good solution?

Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜