Page 1 of 1

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

Posted: Tue Sep 15, 2015 7:32 am
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

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

Posted: Mon Sep 01, 2025 8:08 pm
by Fred
Fixed.