and then read and write using PIL, I see that the file size increases significantly (sometimes up to 2x)
Since PNG is lossless and therefore does not introduce artifacts that can be problematic for other encoders, I see only three real possibilities:
- (, 8 , 24 )
- -
- ( , , , 2x - , 1.2x, )
, PIL , pngquant. PNG, (PLTE, tEXT ..) , ( google).
zLib (, , advpng zlib ), , , .