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?
↧