Re: AWTTextureIO premultiplying colors with alpha?
Posted by
Sven Gothel on
Jul 16, 2013; 10:18pm
URL: https://forum.jogamp.org/AWTTextureIO-premultiplying-colors-with-alpha-tp4029601p4029604.html
On 07/17/2013 12:09 AM, Sven Gothel wrote:
>
> AWTTextureIO uses AWT's image pipeline, which may perform this task.
> It may also be possible that we do - I would need to verify this code.
I do not see AWTTextureIO/AWTTextureData premultiplying the data,
it keeps the alpha channels intact AFAIK, see 'hasAlpha' in latter class.
AFAIK I have seen this proper behavior in our unit tests as well..
However, I still recommend using the default TextureIO impl.
~Sven