开发者

UIImage Pixel rotation

I'm looking for a snippet of code that will demonstrate UIImage Pixel rotation. all the example I found so far was not very clear. Basically I want to give my user the options to rotate 开发者_运维技巧his image after he took a picture with the camera.

Thanks for your time.


Theres some great categories which show the transforms you can apply to UIImage available here http://www.platinumball.net/blog/2010/01/31/iphone-uiimage-rotation-and-scaling/


You can consider a CGAffineTransform that applies a rotation to the UIImageView, considering that a UIImageView is a subclass of UIView

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜