• 2 Posts
  • 306 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle












  • lemmyng@lemmy.catoMemes@sopuli.xyzIt's an epidemic
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    WebP supports both lossy and lossless compression.

    WebP did not always support lossless compression. It’s conceivable that the tools’ developers made the decision before that.

    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.

    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.

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

    Fair. I’m just speculating that it might be a contributing factor for the tools still not supporting the format.


  • lemmyng@lemmy.catoMemes@sopuli.xyzIt's an epidemic
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 days 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.