Crop image in flex using a non-rectangular shape
Posted
by Irwin
on Stack Overflow
See other posts from Stack Overflow
or by Irwin
Published on 2009-10-30T10:26:30Z
Indexed on
2010/04/09
6:03 UTC
Read the original article
Hit count: 667
Hi I've been following this tutorial to crop images in flex: http://code.mediablur.com/ImageCropper/ImageCropperDemo.html.
At the heart of its cropping is using a method called "copyPixels". However, this method takes as one of its arguments a rectangular shape for its crop region. Are there other strategies I can use to crop it not using a rectangle.
I am going after letting the user specify the region that should be cropped using a series of points.
© Stack Overflow or respective owner