So I managed to learn some Flex and created a small app that:
- Loads an image to an Image component
- Transform the image (rotate, flip) with the Matrix
- Apply filter(s)
Now I am thinking about to create some undo redo functionality. Each time I do a transformation / add an filter I want to be able to go back to the previous image (before the action).
My thought is to have an Array and add the previous bitmap to the stack. But I see that there are some differences between transformations and filters I have also seen the ImageSnapshot and whot i can do and it looks like what I am after.
I am a bit new to Flex in general and I hope someone here can give me any advice on this and hopefully som directions.
Thanks for any advice! Best regards,
Ran