28.06.2016 13:22, Michel Dänzer пишет:
This change checks for pixels with alpha == 0 and any non-alpha component != 0. If any such pixel is found, the data is assumed to be non-premultiplied and fixed up by multiplying the RGB components with the alpha component.
I think that, if we want to check for pixel values that are clearly incompatible with premultiplied alpha, a better test would be to see if any non-alpha component is greater than the corresponding alpha, instead of limiting it to alpha == 0. Does it make sense?
-- Alexander E. Patrakov _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
