Closed pix666 closed 6 months ago
Hello @pix666, the regression you mentioned is caused by the fix of #44. Because I don't have so much free time (consider my late reply), can you try to think/test a solution that will work for your case and to still address the mentioned issue?
I will try to release new version in the coming days. Thank you again for your time.
Hello!
In version 3.0, there is a regression issue related to the loss of transparency in palette-based PNG files.
input.png
As a result of executing the provided code, the output image will lose its transparency and appear on a white background.
The root cause of the error is that, despite the image having transparency, the
image.palette.mode
property is equal toRGB
.Related commit