This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, December 17, 2012 9:05:25 PM(UTC)
Groups: Registered
Posts: 71
Hello,
I had tried the above code and i got success to rotate the image by the specified angle. But can you please tell me is there any undo command to get the original image back?
Thanks...
#2
Posted
:
Tuesday, December 18, 2012 4:32:25 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Hello,
Our moderator split your post from the thread it was in, because this question is not directly related to the original one.
There are no ready functions in LEADTOOLS toolkit that support undo to a process done to the image. However, you can implement this in many ways. One way to do that, every time you rotate the image, you can take a copy of the image before modifying it.
You can take a copy for an image using RasterImage.Clone() method. For more information about this function, refer to our .NET help topic "Clone() Method".
Please try to implement it in your side. If you face problems with that, we will try to help you as possible.
Important note:
Every time you call RasterImage.Clone(), you are allocating a new copy of the image. If the image is large, using many Undo copies will take a lot of memory and can slow down your computer.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.