You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case of premultiplied (associated) alpha, djxl and other applications ignore that image header field, and treat everything as if it is the usual non-premultiplied (unassociated) alpha like in PNG.
It would make sense to do the same thing here as with the Orientation: by default, the decoder should return pixels in a default way (orientation corrected, unassociated alpha), so applications that want to interpret the alpha_associated info themselves and get the raw data would have to explicitly ask the decoder to not do the normalization.
The text was updated successfully, but these errors were encountered:
In the case of premultiplied (associated) alpha,
djxl
and other applications ignore that image header field, and treat everything as if it is the usual non-premultiplied (unassociated) alpha like in PNG.It would make sense to do the same thing here as with the Orientation: by default, the decoder should return pixels in a default way (orientation corrected, unassociated alpha), so applications that want to interpret the
alpha_associated
info themselves and get the raw data would have to explicitly ask the decoder to not do the normalization.The text was updated successfully, but these errors were encountered: