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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Rotate Layer

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
XbVCHkZAEgkp Posted - Oct 31 2017 : 11:06:06
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.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 31 2017 : 21:04:48
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