Comment on It's an epidemic
lemmyng@lemmy.ca 4 months agoGood luck using webp in any kind of collaborative diagramming software.
Comment on It's an epidemic
lemmyng@lemmy.ca 4 months agoGood luck using webp in any kind of collaborative diagramming software.
dan@upvote.au 4 months ago
Why does that software not support modern formats though?
lemmyng@lemmy.ca 4 months ago
Maybe because in those scenarios PNG offers sharper images, which is more important than compression when you have complex diagrams. Or because webp is more CPU intensive, and PNG gives better performance when rendering. Or because of CVE-2023-4863.
dan@upvote.au 4 months ago
WebP supports both lossy and lossless compression. Diagrams should use lossless compression so the image does not lose any quality.
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.
libjpeg and libpng have had a number of CVEs too though.
lemmyng@lemmy.ca 4 months ago
WebP did not always support lossless compression. It’s conceivable that the tools’ developers made the decision before that.
That does not fit the use case of diagramming tools. They usually have comparatively few assets that are used multiple times in the same document. The larger the document, the more benefit lower CPU cost has. And I’ve seen LARGE diagrams.
Fair. I’m just speculating that it might be a contributing factor for the tools still not supporting the format.