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
 Transparency issue when drawing on transparent layer
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jiang_jiji

China
4 Posts

Posted - Mar 30 2026 :  04:27:26  Show Profile  Reply
When
TransparencyMode := ietmReplace
is set, drawing on a transparent layer appears opaque during the process and only becomes transparent after the drawing is completed.

ps. How add a transparent layer

ImageView.LayersAdd(ielkImage, 0, 0);
ImageView.IEBitmap.Fill(0, 0);


xequte

39364 Posts

Posted - Mar 30 2026 :  17:46:12  Show Profile  Reply
Hi

1. Yes, that is limitation in the way the paint tool works (performance reasons).

2. You just need to fill the alpha channel with 0 values, so the method you are using above should be fine.

What are you seeing?

What is the size of the layer? Might need to call Allocate:

http://www.imageen.com/help/TIEBitmap.Allocate.html

Also, ensure you call update after changing the bitmap or layer properties:

ImageEnView1.Update();




Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jiang_jiji

China
4 Posts

Posted - Mar 31 2026 :  04:26:50  Show Profile  Reply
1. Yes, that is limitation in the way the paint tool works (performance reasons).

Could you please let me know if there's a way to remove or adjust this limitation?

2. You just need to fill the alpha channel with 0 values, so the method you are using above should be fine

This step is fine. The problem is that it is only opaque during MouseDown, and turns transparent again after MouseUp.
Go to Top of Page

xequte

39364 Posts

Posted - Mar 31 2026 :  19:24:05  Show Profile  Reply
Hi

We'll look at improving this in a later update, as it will require a rewrite of the painting code.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jiang_jiji

China
4 Posts

Posted - Mar 31 2026 :  22:06:17  Show Profile  Reply
If there are plans for this, which version is it expected to be released in? This would help me better plan my product timeline.
Go to Top of Page

xequte

39364 Posts

Posted - Mar 31 2026 :  22:39:30  Show Profile  Reply
Sorry, I cannot say. There are many higher priority items.

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