Comment on It's an epidemic

<- View Parent
dan@upvote.au ⁨2⁩ ⁨months⁩ ago

PNG offers sharper images, which is more important than compression when you have complex diagrams

WebP supports both lossy and lossless compression. Diagrams should use lossless compression so the image does not lose any quality.

PNG gives better performance when rendering

Images on the web usually aren’t large enough for this to make a significant difference, and it can sometimes be offset by the quicker download time.

because of CVE-2023-4863.

libjpeg and libpng have had a number of CVEs too though.

source
Sort:hotnewtop