PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → What is the best way to display images with Transparent background in Cells /Images controls etc?
What is the best way to display images with Transparent background in Cells /Images controls etc?
Débuté par Robert Zhong, 10 aoû. 2017 13:50 - 1 réponse
Posté le 10 août 2017 - 13:50
Hi All,

I am new to Webdev. I could not display an image (Company Logo) with Transparent background in the Cells.

I can display the image with other image editors without any problem. I have tried filling the backgound with Magenta/pink color, but it still shows up the Cell with WHITE background.

Any ideas will be welcomed.

Robert Zhong
Posté le 10 août 2017 - 18:33
Hi Robert,

You need to set the background color to -not defined- in the style of the image control.
Best way to do that is to create a style named img_transparent, since you will need that style often.
And of course you need your image to be a png type.

Kind regards,
Piet