this post was submitted on 23 Jul 2023
0 points (NaN% liked)

Technology

58142 readers
3808 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -1 points 1 year ago* (last edited 1 year ago) (17 children)

What is the point of this format? How is it any better than png or webp? Do we really need yet another format? I mean 44k really isn’t that great of a savings in the example used.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (8 children)

A shortlist:

  • it has the best lossy image compression (not counting extremely low bitrate images, where AVIF starts to win)
  • it can losslessly recompress JPEGs for a free 20% space savings - no image quality loss
  • it supports parallel decoding for extra speed
  • it supports progressive decoding (viewing a lower quality version of the image while it loads), unlike WebP/AVIF which just "pop up" when you've downloaded the whole thing
  • it supports lossless
  • it compresses lossless extremely well (notably unlike AVIF and PNG which fall on their face with lossless compression)
  • it supports animation (though AVIF is generally a better format for animation, because it's based on a proper video codec)
  • it supports HDR
  • it has a very strong resilience against generation loss (the classic "JPEG degradation" of resaving images)
  • it is royalty-free
  • it otherwise has roughly every image format feature we've ever thought of included in its spec

If JXL is not the next image format then we will never ever get rid of JPEG and PNG. There has never been a more obviously superior image format in history.

This might help: Image format comparison table


Comparison table showing various image formats and their attributes

[–] [email protected] 0 points 1 year ago (1 children)

Graph conveniently omits hardware support, where avif (av1) is supported across the board

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

No one uses hardware decoding for images - it's just not a good fit for the reality of how we use images. Images are small and easy to decode, whereas starting up a hardware decoder takes a non-trivial amount of time. Additionally, GPU decoders only work single-threaded, so each image would have to be decoded one by one, instead of all at once like with CPU decoding. This was already attempted with VP8/WebP and they gave up trying to make it any good. Videos are good candidates for hardware decoding since they're large and you're only looking at one at a time.

If you have benchmarks or some proof showing otherwise by all means post here.

load more comments (6 replies)
load more comments (14 replies)