Partial transparency appears as wrong color
Partial transparency appears as wrong color
Please assist!
I just purchased a site license of the gdviewer product. I am loading a PNG file with partially transparent pixels onto a background that changes.
However, the partially transparent pixels are showing up as though they were being mixed with blue instead of the background image.
Here's the original PNG.
ftp://ftp1.respironics.com/downloads/mi ... PNG24b.png
Here's what it looks like on my form.
ftp://ftp1.respironics.com/downloads/mi ... roblem.bmp
Thanks for your assistance!
I just purchased a site license of the gdviewer product. I am loading a PNG file with partially transparent pixels onto a background that changes.
However, the partially transparent pixels are showing up as though they were being mixed with blue instead of the background image.
Here's the original PNG.
ftp://ftp1.respironics.com/downloads/mi ... PNG24b.png
Here's what it looks like on my form.
ftp://ftp1.respironics.com/downloads/mi ... roblem.bmp
Thanks for your assistance!
Loic,
I goofed. At further inspection, it's clear that the color that the partially transparent pixels are getting mixed with is black. I thought it was just the PNG file, but we lightened those pixels and they still show as black.
It's as though partial transparency is ignored entirely.
What am I doing wrong?
Please keep in mind that I am using a gradient fill background. So there is no single background color. In any case, I set the background color of the object to a color that was close to the gradient fill and it still shows black.
Argh. Please help.
I goofed. At further inspection, it's clear that the color that the partially transparent pixels are getting mixed with is black. I thought it was just the PNG file, but we lightened those pixels and they still show as black.
It's as though partial transparency is ignored entirely.
What am I doing wrong?
Please keep in mind that I am using a gradient fill background. So there is no single background color. In any case, I set the background color of the object to a color that was close to the gradient fill and it still shows black.
Argh. Please help.
Hi,
The control allows only one color as full transparency. The others like you said are mixed with the background of the control.
The GdViewer [pro] 2.8.4 gets few improvements to displays this kind of image.
However, the best way to displays 32 bits image with alpha chanel is to use the Display functions of the GdPicture Pro components.
Best regards,
Loïc
The control allows only one color as full transparency. The others like you said are mixed with the background of the control.
The GdViewer [pro] 2.8.4 gets few improvements to displays this kind of image.
However, the best way to displays 32 bits image with alpha chanel is to use the Display functions of the GdPicture Pro components.
Best regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest