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

top 50 comments

sorted by: hot top controversial new old
[–] 170 points 1 week ago* (last edited 1 week ago) (12 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 18 child comments
  • [–] 15 points 1 week 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
  • [–] 7 points 1 week ago (1 child)

    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 1 week 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
  • load more comments (1 reply)
  • [–] 5 points 1 week ago (1 child)

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

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (6 replies)
    [–] 70 points 1 week 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 3 child comments
  • [–] 8 points 1 week ago* (last edited 1 week 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
  • load more comments (1 reply)
    [–] 44 points 1 week ago (6 children)

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

  • source
  • hideshow 7 child comments
  • load more comments (5 replies)
    [–] 41 points 1 week ago (6 children)

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

  • source
  • hideshow 10 child comments
  • [–] 9 points 1 week 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 2 child comments
  • [–] 5 points 1 week 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
  • load more comments (2 replies)
    [–] 33 points 1 week ago (1 child)

    How is that the formats fault? Your browser sucks.

  • source
  • hideshow 2 child comments
  • [–] 18 points 1 week 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
  • load more comments (1 reply)
  • [–] 26 points 1 week 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 2 child comments
  • [–] 4 points 1 week 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
  • [–] 19 points 1 week 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 3 child comments
  • load more comments (1 reply)
    [–] 18 points 1 week ago

    Skill issue

  • source
  • [–] 17 points 1 week ago (2 children)

    It's made by Google, that's enough.

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 13 points 1 week ago

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

  • source
  • [–] 12 points 1 week ago (1 child)

    You use shitty app it is not fault of format

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 11 points 1 week ago

    ?format=jpeg

    Pin that to your clipboard

  • source
  • [–] 11 points 1 week 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 2 child comments
  • [–] 7 points 1 week ago* (last edited 1 week 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
  • [–] 8 points 1 week ago (5 children)

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

    Where are you seeing this?

  • source
  • hideshow 6 child comments
  • load more comments (4 replies)

    Finally someone said it

  • source
  • [–] 7 points 1 week 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
  • load more comments (1 reply)

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

  • source
  • load more comments
    view more: next ›