• Max-P
    link
    fedilink
    54
    edit-2
    11 months ago

    The lengths I had to go through to open this even on my Linux desktop. Wow.

    • pictrs failed to generate the thumbnail
    • The image crashes Firefox
    • Chromium shows a broken image icon
    • Gwenview says it can’t load the metadata
    • Okular says it’s an unsupported image format

    I had to open the darn thing in GIMP lmao

    E: one install of kimageformats5 later and Gwenview/Okular can open it fine. Firefox still refuses to open it even with image.jxl.enabled set to true.

    • @pivot_root
      link
      3211 months ago

      As an Android user, OP’s image was accurate.

      • My Lemmy app couldn’t open it.
      • Chromium showed the broken image icon.
      • Firefox said it was broken.
      • Firefox Beta with the about:config flag for enabling JXL still said it was broken.
      • Gallery apps couldn’t open it.
      • Renaming it to .jxl still didn’t help.

      I gave up and grabbed a JPEG XL viewer/converter just to see it.

    • Ananace
      link
      fedilink
      311 months ago

      The built-in Firefox support is only activated for unstable builds, so you can’t enable it on stable unless you manually enable it during compile-time.

    • Panja
      link
      English
      211 months ago

      You have to have an extension to get jxl on Firefox and even then it’s still buggy :)

    • ferret
      link
      fedilink
      English
      111 months ago

      Firefox jxl support is restricted to nightly

  • Ananace
    link
    fedilink
    1511 months ago

    Why is it .jpg and not .jxl? That’s the registered extension for JPEG-XL.

  • THCDenton
    link
    1311 months ago

    I’ll upvote out of principal but fuck tryin to look at that shit lol

    • @theherk
      link
      411 months ago

      It is supported through the entire Apple product line in recent versions.

  • Snot Flickerman
    link
    fedilink
    English
    9
    edit-2
    11 months ago

    Interesting, it struggles with the embedded image here on Lemmy, but when going to the image directly, I can see it fine.

    Edit: OS: Windows 10 Pro / Browser: Firefox with JPEG-XL support enabled

  • @[email protected]
    link
    fedilink
    411 months ago

    worked fine on my android phone, using Connect.

    worked fine on firefox & linux, the file shows as .webp to me.

    Decided to investigate this a bit: when opened to new window, the image url has ?format=webp query argument, if I change that to ?format=jxl then it breaks as the server actually provides a .jxl file. At least I had to TRY to break it :P

    % file c6ca4c8c-20a2-4105-8e6c-833d8c7d3e52.*
    c6ca4c8c-20a2-4105-8e6c-833d8c7d3e52.jxl:  JPEG XL codestream
    c6ca4c8c-20a2-4105-8e6c-833d8c7d3e52.webp: RIFF (little-endian) data, Web/P image, VP8 encoding, 623x700, Scaling: [none]x[none], YUV color, decoders should clamp
    
  • cum
    link
    fedilink
    English
    311 months ago

    Loads by default for me on Firefox Android, and I can see the embed just fine.

  • baduhai
    link
    fedilink
    211 months ago

    Works for me on Eternity for Lemmy on Android 13.