• Emerald@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    My only concern with jpeg xl is… how do you know if the encoded file is losslessly compressed or not?

    with jpg and png, one is lossless, one is not. But if all the files have a jxl extension, you can’t know unless the encoder adds metadata for it, right?

    • Persi@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      I felt the same way about webp when it came out.

      In practice it doesn’t really matter:

      • if you’re encoding the file you know how you’re doing it.
      • if you’re receiving the file, you get the pixels you get no matter how it was encoded.
      • if you’re sending the image through some third party service, they’re going to reencode and mangle it anyway so there’s no point in worrying.

      Also, it turned out that even if it’s quite good, lossless webp is rarely seen in the wild because svg is more convenient.