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
 Undo from a layer is applied to other 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
nwscomps Posted - Oct 10 2018 : 07:06:21
When I use undo, the picture in the undo is applied to whatever layer is the current one. Instead It should store the layer GUID to identify on which layer to apply the undo.
I have tried the Timageenproc.GetUndoInfo, but it does not give me any information about which layer the undo belongs to.

Francesco Savastano
Add-ons for the ImageEn Library
web: http://www.fssoft.it/delphicomps.html
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 11 2018 : 19:12:18
Hi Francesco

You can email me for an update that addresses both of these.

Nigel
Xequte Software
www.imageen.com
nwscomps Posted - Oct 11 2018 : 05:17:35
Also could you make the Id of the layer available through the GetUndoInfo method?

Francesco Savastano
Add-ons for the ImageEn Library
web: http://www.fssoft.it/delphicomps.html
nwscomps Posted - Oct 11 2018 : 05:10:06
Here are the steps:

imageenview1.Proc.AutoUndo := true;
imageenview1.LayersCurrent := 0;
imageenview1.IO.LoadFromFile('05.jpg');
imageenview1.LayersCurrent := imageenview1.LayersAdd('04.jpg');
imageenview1.Proc.IntensityRGBAll(100,100,100);
imageenview1.LayersCurrent := 0;
imageenview1.Proc.Undo;

If you need I have also demo project

Francesco Savastano
Add-ons for the ImageEn Library
web: http://www.fssoft.it/delphicomps.html
xequte Posted - Oct 10 2018 : 19:47:36
Hi Francesco

The Undo information record stores the ID of the modified layer.

Can you give me the steps to reproduce the issue you see.


Nigel
Xequte Software
www.imageen.com