Copy image? Nope, here’s the link instead.

all 70 comments

sorted by: hot top controversial new old
[–] 68 points 3 months ago* (2 children)

webp will always be funny to me because it was made exclusively by Google to reduce lossy file size for faster HTTP transfer, but then when JPEGXL was released with better lossy compression and the ability to load graphical data progressively by quality instead of line by line bitstream, Google switched to AVIF instead and doubled down on even more lossy compression because they just want to save cloud costs and don't care about image quality.

  • source
  • hideshow 2 child comments
  • [–] 8 points 3 months ago* (last edited 3 months ago)

    AVIF has a lossless mode. Although nobody cares for it, the slightly lossy is fine. It's adjustable just like JPEG is adjustable.

    Also, it's really annoying to convert since ffmpeg can't do it yet, but the two major browsers support AV1 video, with alpha, in a .avif that you can shove into an tag. It's basically just a video. But animated. And transparent. It also works on Discord web now (but not mobile). AND you can set repetition count, if you really want. Can't show the masterpiece I've made before with that since it would be way out of topic, although here's an HD example with the animation from here:

    demo

    Ironically, the creators of the damn browser didn't know that it's possible and used a .webm. Well, the bourgeoisie division of the organization that makes the browser, of course. The @redhat.com emails, lol. Also, the metadata for the .webm says "ezgif". Oh welp. And yes, the greenscreen leaking at the edges was already there.

    Command (bourne shell): ffmpeg -c:v libvpx-vp9 -i pop-up-1480.webm -strict -1 -f yuv4mpegpipe -pix_fmt yuva444p - | avifenc --stdin pop-up-1480.avif (-c:v needed to get ffmpeg to read the transparency).

    File size:

    .webm: 540KiB
    .avif: 486KiB
    .gif: 6.2MiB

    GIF command used for comparison: gifski pop-up-1480.webm -H 832 -r 33.3333333333333333333333 -Q 100 --extra -o pop-up-1480.gif, 100% to match original quality somewhat

    spoilerIt also supports HDR. In year 2060, when the @redhat.com people finally get HDR out for everyone, we will have lazer eye """gifs"""

    spoiler spoilerUsers of custom clients and netsurf (via custom frontend) and such will be complaining about this just like about OP's repost is complaining about WebP.

  • source
  • parent
  • [–] 37 points 3 months ago (7 children)

    The person who belongs in extra hell is whoever decided not to implement support for heic natively in Windows.

  • source
  • hideshow 7 child comments
  • [–] 9 points 3 months ago (1 child)

    Licensing bullshit

    https://www.reddit.com/r/Windows10/comments/8ptbss/comment/e0dv1d4/?context=3

    https://www.zdnet.com/article/if-vlc-can-ship-a-free-dvd-player-why-cant-microsoft/

    Explains it well.

    Tldr: VLC is in France and doesn't have to respect copyright laws over software while Microsoft does and has to pay money for codecs per install.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 3 months ago

    Actually I would say the the one who goes to extra health should be whoever at Apple made the decision to use the patent encumbered HEIC format as the default for iPhone photos.

    There are plenty of open picture formats that do the same thing without a patent tax.

  • source
  • parent
  • [–] 152 points 3 months ago* (last edited 3 months ago) (20 children)

    Why are we sending someone to "Extra Hell" for making an improved image format that has better compression and is an overall improvement over all 3 of the existing formats it replaces (jpeg, png, gif)?

    Shouldn't this apply to everyone the companies who refused to adopt it, thus breaking every normal image workflow? (Same thing can be said about JXL)

    Edit: fix vague wording

  • source
  • hideshow 20 child comments
  • [–] 27 points 3 months ago (1 child)

    I have comments about your first question, but they're mostly stupid on my end. I think the problem for most is related to your 2nd question. Google is doing it's google thing where they do a lot to force adoption with a goal of doing nothing to support it. Combine with a general distrust of Google.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 3 months ago

    I'm realizing my wording might be vague, by "everyone" I meant the big tech companies that didn't implement it, like Google, Apple, Microsoft, and Adobe. AFAIK most of the open source apps actually implemented support pretty quickly, and obviously it wouldn't be the end users' fault because they can't change what formats are supported

  • source
  • parent
  • [–] 24 points 3 months ago (1 child)

    I'd say the knowledge about webp's benefits is not mainstream at all, I learned about it last week from a random YouTube video. So when people download a file that isn't working as expected they don't know who to be mad at so they make memes like this.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 15 points 3 months ago

    Because it's Google trying to control not just everything ELSE about the internet, as if that wasn't enough, but even what image formats we use.

    If PNG and JPEG aren't good enough, which they often are, by the way, JPEG XL is right there.

    -- Frost

  • source
  • parent
  • [–] 4 points 3 months ago (2 children)

    It's not an improvement over PNG.

    but it has an optional lossless mode that no one uses

    No one uses it and even if they did, you'd never know since there isn't a .webl or .webpl to differentiate lossless.

    You know a PNG in lossless, you know a jpg is lossy. webp should just be assumed lossy 100% of the time.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 3 months ago (1 child)

    Kind of a tangent, but while the png format uses lossless compression, you do not know that the .png you have in front of you is lossless from the filename; image softwares can and do support preprocessing an image with lossy algorithms to improve the file size.

    This is sort of unlike flac for audio -- it is technically also possible, but hardly anyone would do it, since the only reason to use flac is for lossless compression.

    I get the impression that .png is used alongside .jpg as a general image format, although i don't really know.

    You also don't know if your .png file has an alpha channel or not -- might have been made without one.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 6 points 3 months ago (7 children)

    How to determine if webp is lossless? Old format easy, jpg vs. png.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 25 points 3 months ago (6 children)

    As an expert in image processing:

    .png supports pretty extreme compression, while a jpeg can also be lossless. The extensions tell you nothing except which family of algorithms was used to encode/compress/store them.

    Webp though, webp is only used for the internet. I mean, you could use it other places, I guess.

  • source
  • parent
  • hideshow 6 child comments
  • [+] -21 points 3 months ago (5 children)

    You're an "expert in image processing" but don't understand the fundamental difference between the .jpg and .png image formats or the encoding and compression algorithms underpinning them? I find that doubtful.

    .png only compresses efficiently when used as intended, which is for screenshots or other images with large areas of solid colors, where each pixel is most likely the same color value as its neighbors. In this use case, it's much more efficient than .jpg. However, .jpg is much more efficient than .png when it's used as it's intended; encoding images of the real world, like images taken with a digital camera, where each pixel has a slightly different color value than the ones next to it.

    You can test this yourself by taking a picture with your phone's camera, then copying the image, converting the copy to the other file format, then comparing the file sizes. Next, repeat the process with a screenshot of a web page or a simple Paint drawing. You'll see that the camera image is smaller as a .jpg but the screenshot is smaller as a .png.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 36 points 3 months ago (2 children)

    Nothing the other guy said contradicts this? Nor shows a lack of understanding this?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 months ago (1 child)

    Because the reason webp/webm is trash is that it uses proprietary codecs, which some software companies don't want to include support for. It's google's attempt to control every format used on the web.

    We already have JXL, which is better than webp at everything it does, it's not proprietary, and the main reason it's still not widely supported is because google spent years trying to bury it and intentionally not offering support for it and prioritizing its own webp.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 10 points 3 months ago (1 child)

    It was only ever an issue for me back when it was new and next to nothing supported it yet.

    That isn't the case anymore, except maybe here on Lemmy where by default, animated images don't properly upload. Doesn't even matter the format; webp, gif, mp4, etc. They don't work out of the box here; they embed fine if hosted elsewhere, tho.

  • source
  • hideshow 1 child comment
  • [–] 7 points 3 months ago* (last edited 3 months ago)

    WebM works with image-rs (as long as you don't exceed your home instance's upload size limits).

    I can't guarantee that every client can view it properly


    that's on the client's author


    but it'll show up in the Lemmy Web UI.

    $ wget https://gnuplotting.org/figs/bessel.gif
    $ ffmpeg -i bessel.gif bessel.webm
    

    Try downloading that and then uploading it in a comment to to your own instance; it should work unless pawb.social limits the size.

  • source
  • parent
  • [–] 18 points 3 months ago (2 children)

    I never had problems with webp. Neither on android nor on my computer. I can copy and paste the images without problems. What kind of software are you guys using?

  • source
  • hideshow 2 child comments
  • [–] 22 points 3 months ago (1 child)

    ... What was ever wrong about webp? As far as I know it gives slightly better compression than jpg at similar quality

    The biggest issue AFAIK has been that certain OS vendors didn't allow their users to enjoy it while the internet went on to use a new tool, so they got a lot of broken images

    That is your vendors fault, not webp

  • source
  • hideshow 1 child comment
  • [–] 4 points 3 months ago

    It's developed by google, and google having a lead in something usually isn't a good thing. They might just make up their own extensions and stuff, and other browsers will just have to deal with this. Just like they do with other web standards.

  • source
  • parent
  • [–] 38 points 3 months ago (11 children)

    WebP has all the functionality of jpg, gif, and png with better compression ratios.

  • source
  • hideshow 11 child comments
  • [–] 4 points 3 months ago (3 children)

    can't store images larger than 16,383 x 16,383 pixels

  • source
  • parent
  • hideshow 3 child comments
  • [–] 22 points 3 months ago

    and how many images are above 16k x 16k pixels?

    If you have an optimisation for 99% of all online images, then that's dope - You can use more niche or older compressions for your very high pixel files

  • source
  • parent
  • [–] 5 points 3 months ago (1 child)

    I weep for the web server that has to serve those size images. I can typically cut webserver bandwidth in half by converting all non svg images to webp. Have had one project where this cut the network fee by 80% and allowed us to downgrade the rented server space.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 11 points 3 months ago (6 children)

    As someone who has edited videos and had to convert WebPs every time I accidentally downloaded them, no they do not.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 3 points 3 months ago

    There's a difference between whether or not a file format supports features and a software supporting the file format. A tractor can have loads of features and still not be the right fit for you if it does fit in your barn. Doesn't mean the tractor doesn't have those features. DDR5 can be better then DDR4 and yet not all motherboards support it. It is trivial to convert from webp to the file format you need for your unique situation. Its supported baseline by browsers and use on the web is its best case. I make websites that allow people to customize SOLIDWORKS CAD files. SOLIDWORKS doesn't support webp: I still use it on the website wherever possible and if someone uploads in webp I just convert to jpg before inserting into SOLIDWORKS.

  • source
  • parent
  • [–] 10 points 3 months ago (4 children)

    Translation: your video editor sucks.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 3 months ago* (last edited 3 months ago) (3 children)

    Have you ever edited a video or are you just talking out your ass? Really doesn't matter, he said they had the same functionality, they do not. It had no problem at all with other image formats.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 5 points 3 months ago*

    Yes, a few times. I have exactly 60 ".kdenlive" files in my "videos" dir. That editor itself sucks, but seems your does harder.

    Can't demo much as most of these are aimed at very niche communities (ranging from 1k people to 4 person groupchat with only 1 person who cares), and some are also a bit problematic in content. As you could have guessed, it's meme stuff, so quite image heavy.

    some examples that I am comfortable with sharingxmpp cross platform 2.webm cyao cyao cyao zeppeli web.mp4 nilfinx offline.mp4 orpheus 9front.mp4 ghostty backdoor of interplanetary scale lq hotfix.mp4
    (low res link for last one)

    license (please note that they are basically collages of de minimis and transformative content, sometimes needed for parody)

                DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                        Version 2, December 2004
    
     Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
    
     Everyone is permitted to copy and distribute verbatim or modified
     copies of this license document, and changing it is allowed as long
     as the name is changed.
    
                DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
       TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    
      0. You just DO WHAT THE FUCK YOU WANT TO.
    

    Now, what are you defining as "functionality"?

  • source
  • parent
  • [–] 31 points 3 months ago (2 children)

    How is that the formats fault? Your browser sucks.

  • source
  • hideshow 2 child comments
  • [–] 18 points 3 months ago (1 child)

    My pain isn't in the browser, it's with other apps that are still playing catch-up.

    A lot of apps have added support now, but there are still edge cases. Animated webp being one. If i send that in a messaging app, usually all the other person sees is the first frame.

    It's absolutely not the fault of the format, I agree, but still a cause of compatibility headaches.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 3 months ago

    Well, gif format existed before 1998 and the Web was being built with it, whereas now the format exists when things have already been built. It sounds like a demonstration of feature creep. “Oh, so now we want webp instead of gif? Ugh.”

  • source
  • parent
  • [–] 11 points 3 months ago

    ?format=jpeg

    Pin that to your clipboard

  • source
  • [–] 10 points 3 months ago

    Use it with FoundryVTT all the time, its great for reducing size without losing much quality.

  • source
  • [–] 16 points 3 months ago

    Skill issue

  • source
  • [–] 4 points 3 months ago

    .webm files never embed properly for me in messaging apps. It's been years, and apparently this is an unsolvable issue for the likes of Microsoft Teams (although at my new job I use Slack now, so I haven't tried it in a while).

  • source
  • [–] 7 points 3 months ago

    Finally someone said it

  • source
  • [–] 7 points 3 months ago (1 child)

    I agree with the comic. Saving a webp as an actually useful file format is an extra annoying step.

  • source
  • hideshow 1 child comment
  • [–] 4 points 3 months ago

    Half the time it works. Half the time it doesn't. Idk what the determining factor is but I've just got in the habit of doing screenshots. Which I then still have to open another program to paste and save.

    What even was the reason for this awful file type ?

  • source
  • parent
  • [–] 11 points 3 months ago (1 child)

    You use shitty app it is not fault of format

  • source
  • hideshow 1 child comment
  • [–] 5 points 3 months ago

    literally the first thing i do when logging into lemmy via alexandrite - settings, uncheck load images as webp

  • source
  • [+] -11 points 3 months ago (5 children)
  • [–] 11 points 3 months ago (4 children)

    ... as opposed to webp, which also supports transparency?

  • source
  • parent
  • hideshow 4 child comments
  • [+] -2 points 3 months ago (3 children)
  • [–] 3 points 3 months ago (2 children)

    If we're talking in terms of vodeo containers (or codecs), then why are we talking about it on a post about webp?

    Unless you consider webp to be a video container because it does support animated pictures, but, again, it also supports transparency.

    Also, HEVC is not a video (/media) container, it's a codec.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 months ago (1 child)

    As a lay person, codecs and containers are not visible to me, but the file extension is.

    So .webm would be relevant in a post about .webp, because they are only one letter different.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 3 months ago

    What are we even talking about?

    fork:

    • implied that webp doesn't support transparency (false);
    • got called out;
    • brought up the topic of video containers (incorrectly) for some reason;
    • got called out again.

    The fact that webm is relevant here is undisputed (or so I believe)

  • source
  • parent