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
 Alpha channel filling and layerscaching

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 - Dec 01 2021 : 08:32:43
Hello I found a possible bug here. I have a form with two buttons, with one button I fill the alpha channel of the current layer with 0 (completely transparent), with the other button I fill it with 255 (completely opaque).
When TImageenview.layerscaching is enabled if I press the first button and then the second I loose all the rgb information. When it is disabled and I do the same thing the rgb information is preserved.
I attach a small demo to show this.

attach/nwscomps/202112183132_Test.zip
82.69 KB

Francesco Savastano
Add-ons for the ImageEn Library
web: http://www.fssoft.it/delphicomps.html
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 13 2021 : 01:31:56
Hi Francesco

You can email me for a fix for this.

Nigel
Xequte Software
www.imageen.com
nwscomps Posted - Dec 02 2021 : 02:58:57
But if I use attachedimageenview only the layers are not refreshed if I do a change by code e.g. fill the alpha channel. How can i refresh the layers in this case if not calling ImageEnLayerMView1.ReadLayers();
And why the problem happens when TImageenview.layerscaching is enabled and not when it is disabled?

Francesco Savastano
Add-ons for the ImageEn Library
web: http://www.fssoft.it/delphicomps.html
xequte Posted - Dec 01 2021 : 16:09:28
Hi Francesco

Please use:

ImageEnLayerMView1.ReadLayers();

or

ImageEnLayerMView1.AttachedImageEnView := ImageEnView1;

Not both.


Nigel
Xequte Software
www.imageen.com