• reddig33@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    9 hours ago

    What they’re saying is that a web server can create a traditional jpeg file from a jpeg xl to send to a client as needed. So you’re saving backend storage space… sometimes. Until widespread adoption by browsers, you’re still creating and transmitting a traditional jpeg file. And now you’ve increased the server space needed because you’re having to create and store two copies of the file in two different formats.

    Developers are already doing this with webp and everyone hates webp (if your browser doesn’t support webp, the backend sends you the jpeg copy). I dont see any advantage here except some hand waving “but in the future” just like has been done for most new formats trying to win adoption.

    • The_Decryptor@aussie.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      What they’re saying is that a web server can create a traditional jpeg file from a jpeg xl to send to a client as needed.

      Other way around, you can convert a “web safe” JPEG file into a JXL one (and back again), but you can’t turn any random JXL file into a JPEG file.

      But yeah, something like Lemmy could recompress uploaded JPEG images as JXL on the server, serving them at JXL to updated clients, and converting back to JPEG as needed, saving server storage and bandwidth with no quality loss.

    • Logi@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 hours ago

      The difference (claimed by the comment above) is in the words

      without loss of quality

      So you can convert back and forth without the photo copy of a photo copy problem.

      And you don’t have to store the second copy of the file except for caching of frequently fetched files which I’m sure will just be an nginx rule.