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
 ColorFillAlpha Issue

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
jiang_jiji Posted - Apr 29 2026 : 08:05:40
When using FillTool to perform a color fill, the alpha (transparency) value set via ColorFillAlpha is not respected. The filled result is always fully opaque.

ImageView.FillTool.ColorFillValue := clBlack;
ImageView.FillTool.ColorFillAlpha := 200;
ImageView.FillTool.Tolerance := 20;
ImageView.MouseInteractGeneral := [miColorFill];

Expected:


Actual:
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 29 2026 : 18:22:28
Hi

In v15.0.0 and older, the alpha is not set if the image does not contain an alpha channel, so you should create one using:

ImageView1.IEBitmap.AlphaChannel; // Create alpha channel if it does not exist

This will happen automatically in v15.0.1.

Nigel
Xequte Software
www.imageen.com