Página 1 de 1
TBtnBmp - Remove Image Background
Publicado: Jue Mar 02, 2023 9:35 am
por Hurricane
Hi,
Please, how do I remove this background?
I am trying to convert a part of the F* forms to Xailer.
It's the same BMP file:
- btn.png (1.88 KiB) Visto 1751 veces
regards,
Re: TBtnBmp - Remove Image Background
Publicado: Jue Mar 02, 2023 8:54 pm
por jfgimenez
Hi,
add that bitmap as a resource in the project. If you need to load it directly from disc, then you may save it as a png
Re: TBtnBmp - Remove Image Background
Publicado: Vie Mar 03, 2023 4:03 am
por Hurricane
HI,
thanks for your help.
I need to read from file, I changed it to png and the background is not removed.
a summary of the tests (transparency):
- read bmp from file: no
- read bmp from resource: yes
- read png from file: no
- read png from resource: no
regards
Re: TBtnBmp - Remove Image Background
Publicado: Vie Mar 03, 2023 5:49 pm
por jfgimenez
Hi,
here you're a working sample
Re: TBtnBmp - Remove Image Background
Publicado: Vie Mar 03, 2023 6:17 pm
por Hurricane
Hi
this is different, you edited the image
jfgimenez escribió: ↑Vie Mar 03, 2023 5:49 pm
here you're a working sample