34
submitted 9 months ago by jackpot@lemmy.ml to c/asklemmy@lemmy.ml

i downloaded a webp image a few days ago is my pc compromised, very confused apologies

you are viewing a single comment's thread
view the rest of the comments
[-] Knusper@feddit.de 51 points 9 months ago

SVG is for vector graphics, i.e. anything that can be described with lines and shapes, like logos or most icons.
WebP on the other hand is for raster graphics. For example, cameras create raster graphics.

So, while SVG may be able to replace WebP for some use-cases, it makes no sense to generally switch to SVG.
A suitable, better replacement for WebP is JPEG XL.

[-] sxan@midwest.social 8 points 9 months ago

In oelden days, I once made an entire (small) web site out of SVG. All the layout, everything; it was before responsive design, and before SVG had text wrap. It had animations and everything.

In a way, it was pretty cool; like PDF web pages. Everything was always perfectly and faithfully laid out. But the downside was that everything was always perfectly laid out ... for exactly one display dimensions.

I still have a soft spot in my heart for SVG. I wish it were more widely used, and that svgz was more well supported. But yeah, you're right: it's not the best choice for a lot of graphics.

[-] Granixo@feddit.cl 2 points 9 months ago

Haven't heard of JPEG XL, will investigate further. ๐Ÿค“

Thanks! ๐Ÿ˜ƒ

[-] thepreciousboar@lemm.ee 1 points 9 months ago

What does jpeg XL differ from normal jpeg? Wansn't webp introduced to replace jpeg?

[-] Knusper@feddit.de 9 points 9 months ago* (last edited 9 months ago)

JPEG XL is just a new standard from the Joint Photographic Experts Group. It doesn't have much to do with the original JPEG standard from 1992. For example, JPEG XL also supports lossless compression, which PNG was traditionally used for.

And yes, WebP was developed to supersede JPEG, however it was developed at Google without much input from the industry. As such, it never gained particularly widespread support.
JPEG XL is a newer standard compared to WebP, developed in a joint venture by more of the industry (including Google), and from what I've heard, it makes several significant improvements compared to WebP.

It is a very new standard, so it probably is still behind WebP in terms of adoption, but I'd expect that to flip pretty soon.


Personal opinion: I just think WebP is poop.
You can have images with huge resolutions that still look incredibly blurry.

[-] thepreciousboar@lemm.ee 2 points 9 months ago

Reminds me of the xkcd about standards

https://xkcd.com/927/

[-] nutbutter@discuss.tchncs.de 1 points 9 months ago

What's better? Avif or jepg xl?

[-] Knusper@feddit.de 4 points 9 months ago

Honestly, I have no idea. It sounds like AVIF also has wide industry support and is generally quite proficient.

But JPEG XL likely wouldn't have been created, if AVIF was perfect. Wikipedia says:

The [JPEG XL] standard is expected to outperform the still image compression performance shown by HEIC, AVIF, WebP, and JPEG 2000. It also provides efficient lossless recompression options for images in the traditional/legacy JPEG format.

I'm guessing, AVIF was created, because it basically already existed. It's using the AV1 video codec to encode a single-frame video and that just happened to be better than the competition.
JPEG XL being more focused on those still images could obviously still outperform it. I guess, we'll have to see.

For right now, though, yeah, JPEG XL might still be too young and AVIF therefore the better choice.

[-] thepreciousboar@lemm.ee 1 points 9 months ago

Reminds me of the xkcd about standards

https://xkcd.com/927/

this post was submitted on 30 Sep 2023
34 points (87.0% liked)

Asklemmy

42432 readers
2393 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS