Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

allowImageEditing: change dimensions of the crop area

iPhone SDK 3.1, Ti 1.0

I wonder if there is a way to change the dimensions of that crop area after you have selected an image out of the photo library with allowImageEditing enabled. By default it is a square - I'd like to make it the same aspect ratio the chosen image has.

If that is not possible: is there a way to disable allowImageEditing, load the image into a webview or image view, and add the cropping logic by yourself? The problem I have with this approach in the first place is that I didn't find an event for that multitouch gesture that scales the image.

Any hints are most welcome!

— asked March 16th 2010 by Nils
  • camera
  • crop
  • image
  • iphone
  • mobile

1 Answer

  • I would love to know if this is possible as well.

    — answered May 24th 2010 by Antonio Silveira
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.