Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

How to Rotate Image and Save Changes

$
0
0
Im trying to implement a method that allow a user rotate an image, i was looking in Q&A but all the methods that i found was something like this : --- var transformCurrentPicture = Titanium.UI.create2DMatrix(); var tempImg = Titanium.UI.createImageView({ image: imag, width : newW, height : newH }); transformCurrentPicture = transformCurrentPicture.rotate(90); tempImg.animate({transform:transformCurrentPicture}); --- this rotate the imageview but when i want to save the image with imageview.toImage(), the image still like the original. Someone has a method to change the rotation image and save the changes?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>