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
 Feedback for adding frames with increased transparency?

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
PeterPanino Posted - Aug 07 2021 : 17:52:28
In a color editing action, I repeatedly create red frames around my image (PNG with RGB True Color format), each time with higher transparency:


ImageEnView1.AlphaChannel;
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 255);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 205);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 155);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 105);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 55);
ImageEnView1.IEBitmap.Resize(5, 5, 5, 5, clRed, 5);
ImageEnView1.Update;


As this can be done only with certain image/color formats - is it possible to get automatic feedback from the IEBitmap.Resize method to be informed whether the transparency has been successfully applied to the added frame?
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 07 2021 : 20:28:09
Hi Peter

While editing, changes to the alpha channel (once enabled) should always be successful. It is only when saving that alpha channel is ignored (e.g. if saving to JPEG) or reduced in bit depth (e.g. if saving to GIF).


Nigel
Xequte Software
www.imageen.com