how to change icon color???

136 views
asked Dec 13, 2018 in Embedded Wizard Studio by shcho

I use illustration png image file.

i add the image file in btimap resource.

 

In class,  bring to wallpaper image.

I set the icon(bitmap) on Bitmap.

I changed to color on Wallpaer setting.

But , it was not change the image color.

How to change color image?

What kind of image file for change image color?

 

 

 

1 Answer

0 votes
answered Dec 13, 2018 by Manfred Schweyer

Hello,

if you want to colorize an image during runtime, you should use an alpha-only bitmap. For that purpose, use the attribute AlphaName instead of FileName.

Please have also a look to the answer Coloring an Image.

Best regards,

Manfred.

commented Dec 13, 2018 by shcho
If i use the attribute AlphaName, it also was not changed.
commented Dec 13, 2018 by Manfred Schweyer

Can you try to follow the steps that are shown in the answer Coloring an Image. Does it work?

commented Dec 14, 2018 by shcho
thank you. it is working.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...