[x] alpha channel is set to 0 when the source file does not have alpha. This is problematic when saving to a format that supports alpha: it's full transparent. When not present, alpha channel should be set to 255.
[x] pixels are in abgr order instead of rgba. It's possible to swap them with pixEndianByteSwap, but this has to be done twice: after read and before write.
[x] quality for jpeg write seems to be ignored. The jpg is always of the same quality.
8-bit png
andgif
image formats.0
when the source file does not have alpha. This is problematic when saving to a format that supports alpha: it's full transparent. When not present, alpha channel should be set to255
.abgr
order instead ofrgba
. It's possible to swap them withpixEndianByteSwap
, but this has to be done twice: after read and before write.quality
forjpeg
write seems to be ignored. Thejpg
is always of the same quality.