Problem description
When an image is rotated using the 2D or 3D Matrix transformation, its edges gets jaggy (very low quality).
Steps to reproduce
1. Create an app with the following code (just set the 'url' var) and run it:
var win = Ti.UI.createWindow({
backgroundColor: '#333',
navBarHidden: true
});
var url = IMAGE_URL_HERE;
var image = Ti.UI.createImageView({
height: 400,
preventDefaultImage: true,
top: 0,
url: url,
width: 400
});
var a = Titanium.UI.createAnimation();
a.transform = Ti.UI.create2DMatrix().rotate(10);
image.animate(a);
win.add(image);
win.open();
Can be done by setting UIViewEdgeAntialiasing property to true in the info.plist
Add the following to the tiapp.xml
Verified fix with: Titanium Studio, build: 2.1.1.201207271312 Titanium SDK: 2.2.0.v20120813184911 Devices: iPhone 4s 5.0.1 iPad1 5.1.1 Simulator 5.1