ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Rotate Layer
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

XbVCHkZAEgkp

France
1 Posts

Posted - Oct 31 2017 :  11:06:06  Show Profile  Reply
Hello.

I have a Layer.

I change a ChannelOffset :
IG1.IEBitmap.ChannelOffset[0]:=100;

I rotate the layer :
ImageEnView1.Layers[1].Rotate:=45;

The color changed has been.
FixChannelOffset ?
I don't want it. Because I want to change the color again, if needed, from original colors.

LayersFixRotations ?
I don't want it. Because I want to rotate again, if needed, from original.

Why I want to change from original ?
Because, there is no way to recover original colors and rotate from changed colors and changed rotations, without loss.

So, I don't know how to do ?

Is there a way ?

Thank you.

xequte

39053 Posts

Posted - Oct 31 2017 :  21:04:48  Show Profile  Reply
Hi

If you need a copy of the original bitmap so you can revert back to it, either:

- Use TImageEnView.Proc.SaveUndo

https://www.imageen.com/help/TImageEnProc.SaveUndo.html

- Make a copy of TImageEnView.CurrentLayer.Bitmap

https://www.imageen.com/help/TIELayer.Bitmap.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: