• Captain Aggravated@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      If we made a list of things you could do, that would be on the list.

      If that’s the only thing that changed, the data in the file isn’t changed, it’s still a webp file not a jpg, it’s just mislabeled now. I just tried it, Dolphin will let you do it but throw a dialog telling you it’s not actually going to change the file, just the name. Some systems might be smart enough to recognize the intent and run a conversion program in the background. Feels like an Apple thing to do. Also feels kind of Pythonic.

      A lot of image viewing software doesn’t know what to do with the webp format so they’ll try to load it and throw an error.

    • I Cast Fist@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Simply changing the extension wouldn’t work because each image type has a specific header - even changing a .png to .jpg wouldn’t work - and organizes the actual image data in different ways.

      The header is what actually identifies the file type. For webp, it’s called the RIFF header and it must be 21 bytes (it’s a standardized specification, btw). For jpeg, the header is only 2 bytes and has the values FF D8. In theory, this means that you could even rename the file to image.zip and, if you opened it in an appropriate program, it would read the header and still render it properly

    • morrowind@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 hours ago

      No, it’s a different format underneath.

      Occasionally it’ll work, cause an app will use a library that supports webp but forget to add it to the file picker (or deliberately don’t want it) but generally no.

      • Hazmatastic@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        Just had this experience with some .png files I downloaded. Apparently Chrome, which i used on my work computer to get some game files, downloads images in .webp by default. Even if specifically saved as other formats. Game wouldn’t recognize my pngs until I changed them back to .webp like you described, opened them in PS, and exported as .png. The filetype does some funky stuff

  • waigl@lemmy.world
    link
    fedilink
    English
    arrow-up
    39
    ·
    10 hours ago

    I feel like this meme is five years old and describing a situation that is no longer reality.

    • mogoh@lemmy.ml
      link
      fedilink
      English
      arrow-up
      61
      ·
      10 hours ago

      Just this week I tried to upload a webp to google drawings (the google drive document for some kind of vector graphics), but google drawings only accepted gif, jpeg, and png. That taught me, that google drawings dosn’t receive any updates any more and probably soon will be killed by google, and also, that webp still isn’t available everywhere.

        • Sturgist@piefed.ca
          link
          fedilink
          English
          arrow-up
          5
          ·
          4 hours ago

          I’m personally convinced that every Google project team has at minimum 3 people whose only job is to optimise that projects incompatibility with other Google products…

    • loiakdsf@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      24
      ·
      10 hours ago

      still have that problem and i hate how much of a pita it is to switch it off in most browsers (that i tried at least)

    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      10 hours ago

      I feel like even back then, this was a Windows problem I was too Linux to understand.

      I have literally never had a problem opening a .webp. By the time my browser started downloading in that format, all my other software (Dolphin, Gwenview, GIMP, etc.) already supported it too.

      • mushroommunk@lemmy.today
        link
        fedilink
        English
        arrow-up
        11
        ·
        9 hours ago

        It’s more a website thing. A lot of websites for a while didn’t take .webp. Roll20 was the most annoying one to me

    • Rhynoplaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      10 hours ago

      Still pisses me off on the regular, but maybe there’s a trick to fix this that I haven’t learned.

    • three@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      9 hours ago

      True. I never SMS memes to anyone, so having images download to webp is not a problem.

  • I Cast Fist@programming.dev
    link
    fedilink
    English
    arrow-up
    12
    ·
    9 hours ago

    I have that problem avif, especially on lemmy, as it opens as a new tab instead of loading the image below the post title. A bunch of android apps I use don’t recognize avif either

    • Starski@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      Sort of same, only I don’t have any issues with it on Lemmy, only everywhere else. Anytime I try downloading an image I swear it’s always an avif and the group chat I use doesn’t support avif, so I have to screenshot it real quick if I want to share any memes. Idk if it’s Lemmy putting things as avif, or if there’s a couple people in the shit posting community who exclusively posts avif, but I hate it.