On Feb 20, 2008, at 1:06 PM, Paul Whitelock wrote:

Greetings!

I've just completed developing a component for Flex that enables an
image to be cropped.

A cropping rectangle is used to select the portion of the image to
retain. The cropping rectangle may be resized using four corner
handles and the rectangle may be repositioned by clicking inside of
the rectangle and dragging. The dimensions of the rectangle may be
unconstrained, or they may be constrained to an aspect ratio.


Good job on that. Now all you need to do to make it complete is (in my opinion):

1. Incorporate Senocular's wonderful TransformTool class (also available from sepiroth.it for Flex) 2. Implement rotation of the crop tool while respecting the boundary of the original image

At least, that's what I've done in my own project. I can point you in the right direction if you need any pointers or assistance.

cheers and thanks for sharing!

- j

Reply via email to