[Wikitech-l] Re: inquiry on method to compress PNG imagefiles stored by WikiMedia

2024-04-24 Thread Derk-Jan Hartman
And there is all the metadata that tends to get jumbled/warped/damaged/lost. That is another risk that has to be taken into account when processing originals to be stored in another format. DJ On Wed, Apr 24, 2024 at 3:28 AM Dmitry Brant wrote: > It is true that the PNG format doesn't offer

[Wikitech-l] Re: inquiry on method to compress PNG imagefiles stored by WikiMedia

2024-04-23 Thread Dmitry Brant
It is true that the PNG format doesn't offer the absolute best compression - no one would claim it does. What it does offer is ultimate compatibility -- it's viewable on nearly every browser and device ever made, which is more important than disk usage. When ImageMagick converts from PNG to XPM,

[Wikitech-l] Re: inquiry on method to compress PNG imagefiles stored by WikiMedia

2024-04-23 Thread Brian Wolff
Generally disk space is cheap enough that doing these sorts of things aren't worth the extra complexity, especially when we just have to convert it back to png in order to serve it to the user at the end of the day. LZMA is a more advanced compression algorithm than DEFLATE (which is what png