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
 ClearSel and CropSel

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
brm121966 Posted - Nov 29 2022 : 19:00:32
Hello.
I am uploading a jpg image.
I use
IEV_Load.Proc.ClearSel(true);

The function does not make the background transparent.
But.
I am uploading a jpg image.
First I apply
IEV_Load.Proc.CropSel(true);

and then
IEV_Load.Proc.ClearSel(true);
the background will be transparent.

You can do
IEV_Load.Proc.ClearSel(true);
made the background blank from the first application.
Thank you.

Rudolf
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 01 2022 : 14:57:30
Hi Rudolf

Yes, that is true. We will implement that.

Nigel
Xequte Software
www.imageen.com
brm121966 Posted - Nov 30 2022 : 19:55:49
Hi Nigel,
For the CropSel(true) function, I don't need to set the alpha channel. It looks like the CropSel(true) function sets the alpha channel itself.
Perhaps it would be more correct for the ClearSel(true) and CropSel(true) functions to work the same way with the alpha channel.
Thank you.


Rudolf
xequte Posted - Nov 29 2022 : 20:02:15
Hi Rudolf

You need to ensure the image contains an alpha channel:

ImageEnView1.IEBitmap.AlphaChannel; // Ensure image contains an alpha channel
ImageEnView1.Proc.ClearSel(true);


Nigel
Xequte Software
www.imageen.com