lemmy.imagisphe.re
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
aeharding@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year ago

mods are asleep, post memes in JXL

pub-be81109990da4727bc7cd35aa531e6b2.r2.dev

message-square
34
fedilink
163

mods are asleep, post memes in JXL

pub-be81109990da4727bc7cd35aa531e6b2.r2.dev

aeharding@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year ago
message-square
34
fedilink
alert-triangle
You must log in or register to comment.
  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    55
    ·
    edit-2
    1 year 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.

    • prettybunnys@sh.itjust.works
      link
      fedilink
      arrow-up
      46
      ·
      1 year ago

      Huh.

      Memmy on my iPhone just shows it

      • aeharding@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        44
        ·
        1 year ago

        Yeah jxl is fully supported on iOS

        • Baby Shoggoth [she/her]@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          that still contradicts pictrs breaking the thumbnail

          • aeharding@lemmy.worldOP
            link
            fedilink
            English
            arrow-up
            9
            ·
            1 year ago

            I’m not sure what’s up with pictrs. I compressed this image with https://squoosh.app default settings if it helps.

    • pivot_root@lemmy.world
      link
      fedilink
      arrow-up
      32
      ·
      1 year 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.

      • juliebean@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        i don’t want to go to all that effort. if you feel like it, could you describe it?

        • example@reddthat.com
          link
          fedilink
          arrow-up
          18
          ·
          1 year ago

          i don’t want to go to all that effort

          full image

        • s12@sopuli.xyz
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          It’s “JPEG xl is a superior image format that your device should support.”

        • pivot_root@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          I don’t remember what it said exactly, but here’s a rough description:

          Image Description

          It’s the King of the Hill if those kids could read they’d be very upset meme, with the piece of paper saying “JPEG XL memes” and the kids in the classroom being labeled “Android users”.

          • Deebster@programming.dev
            link
            fedilink
            English
            arrow-up
            5
            ·
            1 year ago

            Almost full marks,

            the paper says

            JPEG XL is a superior image format that your device should support

    • Ananace@lemmy.ananace.dev
      link
      fedilink
      arrow-up
      3
      ·
      1 year 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@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

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

    • ferret@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Firefox jxl support is restricted to nightly

  • BitSound@lemmy.world
    link
    fedilink
    arrow-up
    32
    ·
    1 year ago

    I couldn’t view this with Firefox or Gnome. ImageMagick to the rescue, though:

    convert https://pub-be81109990da4727bc7cd35aa531e6b2.r2.dev/weofihweiof.jpg meme.jpg

    • Octopus1348@lemy.lol
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 year ago

      Lmao, I tought it was some instance issue (didn’t read the title).

      • ILikeBoobies@lemmy.ca
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        We should all use jxl and force people to support it

  • Omega_Haxors@lemmy.ml
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    1 year ago

    c/programmerhumor is going to be the place where people go to try and break fediverse clients, isn’t it?

    • Octopus1348@lemy.lol
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      That “people who forget the terminator” post approves

  • Ananace@lemmy.ananace.dev
    link
    fedilink
    arrow-up
    15
    ·
    1 year ago

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

    • Snot Flickerman@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      I’m going to assume Lemmy doesn’t allow native upload for jxl, but to fudge around it you can use jpg?

      • Ananace@lemmy.ananace.dev
        link
        fedilink
        arrow-up
        10
        ·
        1 year ago

        Here’s a .jxl JPEG-XL upload I did on Lemmy three days ago;
        https://lemmy.ananace.dev/pictrs/image/ad4e745e-0135-4cc3-889c-052600828d82.jxl

        • lars@lemmy.sdf.org
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          I checked the headers and content and this checks out!

          Does this mean there’s some way to upload an animated GIF that Lemmy won’t convert to a static format?

        • Octopus1348@lemy.lol
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          image embed

          • Pyro@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Interestingly, this JXL loads in Boost, but the one in the post doesn’t. Perhaps it’s because it’s inside a comment?

            • Octopus1348@lemy.lol
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              1 year ago

              No, it’s because this is actually named .jxl and not .jpg

  • THCDenton@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

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

  • gregorum@lemm.ee
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    Loads fine on Mlem on my iPhone

    • theherk@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

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

  • Snot Flickerman@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 year 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

  • Gallardo994@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    Works in Cromite on android tho.

  • Malix@sopuli.xyz
    link
    fedilink
    arrow-up
    4
    ·
    1 year 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@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

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

  • baduhai@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Works for me on Eternity for Lemmy on Android 13.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 130 users / day
  • 518 users / week
  • 1.75K users / month
  • 10.5K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.58K Posts
  • 29.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org