[Done] pb5.40b3 - Uncoloured alpha pixels appear black

Post bugreports for the Windows version here
User avatar
[blendman]
Enthusiast
Enthusiast
Posts: 297
Joined: Thu Apr 07, 2011 1:14 pm
Location: 3 arks
Contact:

[Done] pb5.40b3 - Uncoloured alpha pixels appear black

Post by [blendman] »

Hi

This post follow this one : http://www.purebasic.fr/english/viewtop ... =4&t=47500

I think that now the alpha pixels aren't white, but they are black or grey.
As you can see on that image :
Image

I have used the ResizeImage(#PB_Image_Smooth) with PB 5.31 and pb 5.40b3 (here is a comparaison on the same reduction made in photoshop to see the difference).
With pb5.40b3, we can see a little black border in the image.
Perhap's the reduction seems to "mix" the original color with black, when the alpha of a pixel is < 255.


PS : (It remind me the "premultiplied mode" for alpha :)
http://www.purebasic.fr/english/viewtop ... lied+image
http://www.purebasic.fr/english/viewtop ... lied+image
Fred
Administrator
Administrator
Posts: 18199
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [Done] pb5.40b3 - Uncoloured alpha pixels appear black

Post by Fred »

Fixed.
Post Reply