how to cropp image in titanium by programming? -
I am implementing an iPhone / Android application using Titanium in which I want to crop the image. Implemented. 1) Open camera 2) Take photo 3) Display picture in application 4) PIC crop with some area
I have worked above 3 steps, but I have to face the problem for the crop Used to be. I code down for the crops
var file = titanium.file system.gatefile (header1) .toBlob (); Var Crop = File. Image asproped (10, 10, 29, 232);
var croImg = Ti.UI.createImageView ({image: file, above: 0, left: 0, width: 29, height: 232});
win1.add (croImg);
But I can not get success if you recommend me if you recommend me an appreciate.
Thanks
Another way to do this with a different image Smaller scenes than images and what to display part. Check out this link which gives a good example:
Comments
Post a Comment