• MDKAOD@lemmy.ml
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    6 months ago

    Photoshop only recently supported webp natively. Windows barely supports webp.

    Inb4 “have you heard of linux”

    • dan@upvote.au
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      6 months ago

      AFAIK Windows has supported WebP since Windows 10 1809.

      • MDKAOD@lemmy.ml
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        6 months ago

        In what capacity? Because the Photos app does not. Hence ‘barely’. Also HEIC support is globally shit. Apple can eat a dick.

        • dan@upvote.au
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          edit-2
          5 months ago

          In what capacity?

          The built-in APIs for handling images (GDI+) added WebP support in 1809. This is mentioned in the the documentation for the drawing library in C#/.NET, which is a wrapper around GDI+: https://learn.microsoft.com/en-us/dotnet/api/system.drawing.imaging.imageformat.webp?view=net-8.0

          I haven’t tried it in the Photos app recently, and don’t have a Windows system handy right now to try it out, but I know it works for sure in Paint, which uses GDI+ for image encoding/decoding (and thus supports all formats that Windows itself supports).

          Of course, apps that use their own encoding/decoding code might have fewer features and support fewer formats than the native Windows code.

          Edit: Apparently it works fine in the Photos app if you just change the extension? Which means Microsoft is doing something weird. The code to decode WebP must be there.

          • cheddar@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            5 months ago

            The built-in APIs for handling images (GDI+) added WebP support in 1809.

            The end user doesn’t work with Windows API. The end user works with web sites and apps, which are rarely native these days. And there you’re often limited to png/jpg for uploads.

    • pyre@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      is “recently” less than 15 hours ago because that’s when the comment was made