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
 Transparency issue when drawing on transparent 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
jiang_jiji Posted - Mar 30 2026 : 04:27:26
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);


5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 31 2026 : 22:39:30
Sorry, I cannot say. There are many higher priority items.

Nigel
Xequte Software
www.imageen.com
jiang_jiji Posted - Mar 31 2026 : 22:06:17
If there are plans for this, which version is it expected to be released in? This would help me better plan my product timeline.
xequte Posted - Mar 31 2026 : 19:24:05
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
jiang_jiji Posted - Mar 31 2026 : 04:26:50
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.
xequte Posted - Mar 30 2026 : 17:46:12
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