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
 Apply background to the color I selected
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pro_imaj

Turkey
2 Posts

Posted - Apr 19 2019 :  03:26:46  Show Profile  Reply
Hello,

As in the example below; How can I arrange the yellow areas in the image according to the image file I selected. So yellow areas Blue | How can I apply the whole image to white?

xequte

4712 Posts

Posted - Apr 19 2019 :  05:11:22  Show Profile  Reply
Hi

You could use a magic selection to grab all the yellow areas and make the background transparent:

https://www.imageen.com/help/ImageEn/TImageEnView.SelectMagicWand.html

Then draw the image onto a bitmap containing your background:

https://www.imageen.com/help/ImageEn/TIEBitmap.DrawToCanvasWithAlpha.html



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

pro_imaj

Turkey
2 Posts

Posted - Apr 19 2019 :  07:16:58  Show Profile  Reply
Thanks for the answer, I will try.

Good work.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: