1111
It's an epidemic (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] dan@upvote.au 5 points 3 months ago* (last edited 3 months ago)

Why does that software not support modern formats though?

WebP has been around for over 10 years and practically all programming languages have image libraries that support it. Windows has had native support since Windows 10 1809, so any apps using Windows' native image encoding/decoding should support it.

[-] lemmyng@lemmy.ca 6 points 3 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 7 points 3 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.

[-] lemmyng@lemmy.ca 1 points 3 months 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.

[-] dan@upvote.au 2 points 3 months ago

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

WebP was first released in 2010, and lossless support was added in 2011. I really doubt there were tools built between 2010 and 2011 that haven't been updated since then.

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.

SVG is probably a better fit for this use case.

[-] lemmyng@lemmy.ca 1 points 3 months ago

SVG is probably a better fit for this use case.

Absolutely... when available. But many companies/teams do not release SVG artwork. PNG material is much more commonly available, and actually works with these tools.

this post was submitted on 14 Jul 2024
1111 points (99.3% liked)

Memes

8252 readers
534 users here now

Post memes here.

A meme is an idea, behavior, or style that spreads by means of imitation from person to person within a culture and often carries symbolic meaning representing a particular phenomenon or theme.

An Internet meme or meme, is a cultural item that is spread via the Internet, often through social media platforms. The name is by the concept of memes proposed by Richard Dawkins in 1972. Internet memes can take various forms, such as images, videos, GIFs, and various other viral sensations.


Laittakaa meemejä tänne.

founded 2 years ago
MODERATORS