• AstralJaeger@lemmy.ml
    link
    fedilink
    arrow-up
    40
    ·
    2 years ago

    Thats why I built a tool that watches my download folder and converts webp and webm to png and mp4 preserving the original. Its still missing some features but its available on my GitHub for free as OSS

        • Lifter@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          It takes less download but more CPU to unpack it so the loading time depends on your connection and hardware. In extreme cases it may be worse than png.

          • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.one
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            I noticed this when mass converting images for my site. They’d download super quick, but then take forever to render on my ancient Macbook

            Ended up using webp for the first image since it was rendered super fast, and a mix of jpeg/webp/avif for the rest (hidden in a carousel), depending on filesize and how legible text was in each image

  • fresh@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    2 years ago

    I have a firefox extension that I use at least multiple times a day, that lets me select which format to download an image in - from JPGs (with multiple compression options) to PNG and WEBPs.

    I’ll update this post with the name when I have access to my computer.

  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    17
    ·
    2 years ago

    Same pain as when you download a “PNG” and instead of a transparent background PNG it is a JPG with checkerboard background.

      • exu@feditown.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        Didn’t expect such an in-depth technical post on the meme community, but here we are :)
        I wasn’t aware that WebP had this many limitations.
        It really is a shame though, what Google have done to JPEG XL.

    • AstralJaeger@lemmy.ml
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 years ago

      It has a really good compression algorithm and can preserve more detail in a smaller filesize.

      As a website owner you usually pay for outbound traffic or atleast storage, thus having a smaller file reduces your cost, appart from the benefit that more users are able to load the file.

  • vortex@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    2 years ago

    .webp? Oh great, I get to install Homebrew, search for some package to convert it into a PNG, figure out the command line options and then finally I’ll get an usable version of the image.

    In case you’re actually wondering, its:

    brew install webp
    dwebp {filename}.webp -o {filename}.png
    
  • nihilist_hippie@lemmy.world
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    2 years ago

    Here’s a neat trick: When saving a .webp image file, simply rename it to .jpg, and it will open no problem in the Windows Photos app. Personally, I save all of mine as .webp.jpg, just so I can distinguish them apart from other image types in the future.

    • Scraft161@iusearchlinux.fyi
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      while that will work for the majority of images, webp is not just a container for jpeg compression and allows for much more (animated webp for example is the near perfect replacement for animated gif yet very few applications support it).

      The big advantage is that webm and webp can use a variety of formats really well and allows you to pick the one most appropriate for your content whilst still having a container format that supports it.

        • Scraft161@iusearchlinux.fyi
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          animated webp allows for video compression it can dramatically reduce file size while also giving the same benefits as apng. It also allows for proper transparency so you don’t have to fiddle with export settings not to have layers overlap and you can use actual alpha values

          • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.one
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            While animated webp sounds nice, I’d pull an imgur and just use a webm without audio at that point since the compression works really well.

            Or could I be completely OOTL and not realise that webm and webp are similar containers and could hold the same video format without sound?

    • zShxck@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Yeah, i used this trick on Windows, but when i switched to Linux it doesn’t work

  • stick2urgunz88@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    There’s various browser extensions to get around this. Chrome and Firefox both have one that just converts the webp to jpg or png. Just Google “don’t accept webp” browser extension.

  • lackthought@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    didn’t realize people had issues with .webp

    MacOS must have native support, I don’t recall installing anything but they work fine in Preview and Quick Look

  • IverCoder@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    The worst part is why apps doesn’t support webp like how they support jpg or png. That’s also a widespread image format, there’s no reason for them to not support it.