Open hillin opened 6 months ago
Hi, the png encoder is still in the works, but currently i'd recommend image-rs png encoder, when writing the png decoder and encoder, it wasn't as performant as it currently was, but there have been really great advancements in making it fast. e.g https://github.com/image-rs/image-png/pull/478 and the massive thread at https://github.com/image-rs/image-png/discussions/416 (Chromium want to integrate it as the decoder so it has seen some really good optimizations). Zune currently supports easy integration of other crates, e.g see https://github.com/SalOne22/rimage/blob/main/src/codecs/oxipng/encoder/mod.rs that uses oxipng for the png encoder instead of the normal one in zune-png, the same can be done for others
Where
lenna.jpg
is a 512*512 picture of the famous Lenna.Output: