Currently there are no browsers that have native FLIF support.
ImageMagick supports FLIF since versions 6.9.4-5 and 7.0.1-7. ExifTool supports FLIF since version 10.31. Photoshop - Not supported natively yet, no FLIF plugins currently exist. Krita - Not supported natively yet, no FLIF plugins currently exist. GIMP - Not supported natively yet, no FLIF plugins currently exist. Paint.NET - Not supported natively yet, no FLIF plugins currently exist.
And FLIF is very slow at encoding, atleast x100 slower than WEBP. CPU usage spikes when use XnView to view FLIF image.
maybe >good compression efficiency >fast >official support from Google >lossless if you want
Cameron Bennett
Source on your animu-picture please kind sir.
Grayson Adams
>ImageMagick supports FLIF how?
and after that, how do you view it? feh?
Jackson Walker
cool, thanks. I'll reencode my library soon.
Colton Lopez
Not op but just search some nep r34 and you're bound to find it.
James Sanchez
>Why does nobody support our compression systems that can barely compete with fucking JPEG Because cost of creating renderer for them outweighs the benefits.
Matthew Mitchell
I don't think ImageMagick does support it. I just tried.
convert in.png -format flif out.flif
does nothing. if you specify webp as the format then it works.
>Currently there are no browsers that have native FLIF support. Not surprising. The codec is still in its early stages (not only encoding, also decoding performance is an issue) and unlike WebP there's no company behind to push the shitty pre-1.0 versions.
For lossless images >FLIF for best compression >WebP for best compression/speed >PNG for best compatibility Not sure about lossy images. There are so many lossy image formats that never made a breakthrough and I haven't tested half of them. JPEG 2000, JPEG XR, BPG, Pik, ... I just know WebP isn't that good when it comes to lossy compression, as it's optimized to produce good PSNR values and is prone to get rid of fine details.
>how? If I remember right you'd have to compile it with FLIF support >and after that, how do you view it? feh? ImageMagicks display command. Alternatively the FLIF repo comes with the code for a gdk-pixbuf-loader, so any image viewer based on it should be able to view them (unless you're using proprietary Nvidia drivers; there's a bug that'll prevent you from decoding FLIF).
Kevin Rogers
Not what i hoped for but thank you anyway good sir!
Jayden Watson
ah my good sir why don't you fuck off back to plebbit. *Tips fedora*
Andrew Moore
>Not sure about lossy images lossy images go straight to the trash
>Why would anybody want to add browser support for a meme image format that kills your CPU? It shouldn't kill your CPU? OP said encoding was slow, but arguably that is common for new codecs no matter what, and images aren't an actually tough challenge because you rarely need to encode tens of thousands like with video frames.
>so what format should I use? WebP? Not for anything you post on the web, because:
for file in *.png ; do cwebp -z 9 -m 6 -q 100 -mt -lossless "$file" -o "${file%.png}.webp"; done for file in *.jpg ; do cwebp -z 9 -m 6 -q 100 -mt -noalpha "$file" -o "${file%.jpg}.webp"; done
reminder to hit the feedback page once a day requesting webp support
Kevin Rodriguez
how to flif on debian ?
Xavier Thompson
>Currently there are no browsers that have native FLIF support. True, but the polyfill works. >And FLIF is very slow at encoding, atleast x100 slower than WEBP. It hasn't been optimized like popular encoders have. Besides, high-compression encoders for popular formats like ZopfliPNG and MozJPEG already take a long time. Even the encoder ends up being 20x slower after optimization, that's something you can live with. It's a small price to pay for FLIF's main advantage: LOSSLESS FUCKING EDITING OF LOSSY IMAGES. That is a huge deal. If successful, FLIF will do more for the preservation of content on the Internet than any format since 1996.
>LOSSLESS FUCKING EDITING OF LOSSY IMAGES Yes, but that's not some great innovation. It's the result of FLIF being inherently lossless. Also it's possible to edit JPEG to some extent without introducing further losses.
Daniel Johnson
>ORIGINAL PNG 8MB may as well use BMP instead, if you're gonna use PNG as a bitmap format without compressing
Juan Butler
>Yes, but that's not some great innovation. It's the result of FLIF being inherently lossless. No shit, Sherlock. >Also it's possible to edit JPEG to some extent without introducing further losses. Yes, you can rotate and crop whole images losslessly and do so color adjustment. You can also edit parts of a JPEG and only recompress them, but the quality will still suffer in those parts.
Dominic Gutierrez
They like Windows Photo Viewer and don't want to use a "special viewer".
>No shit, Sherlock. Then you should know that it's not as big of a deal as you make it out to be.
Levi Fisher
It is a big deal because it's a lossless format developed together with a lossy encoder.
Chase Fisher
"lossless" as in raster perfect or """""lossless""""" as in "you can't tell the difference"?
Kevin Gray
The format is raster perfect.
Joshua Perry
Tried my hand at doing this to the OP image for 1000 generations with cwebp 0.6.1. This is generation 1000. From left to right: q=25,m=4; q=25,m=6; q=90,m=4; q=90,m=6. I'm encoding a video right now.
input="$1" for i in $(seq 1 "$generations") do output="$output_prefix$(printf "%05u.webp" "$i")" encode "$method" "$quality" "$input" "$output" input="$output" done
Literally anything that needs to upgrade or use a plugin to use any new standard.
Cooper Turner
Thank for the video, user.
Liam Hernandez
If there's going to be generation loss, it's gonna happen within the first 5 generations anyway
Caleb Barnes
WebP q90 looks good desu.
Logan Turner
You're welcome!
Here it is.
You are right. Most of it happens very rapidly. It looks to be pointless to go beyond 100 generations. However, I've 1000 again for the sake a fair comparison with .
yeah, neighboring areas with similar chroma get smudged together even if there's a high contrast ledge between them terrible fucking artifacting Thanks for the tests
Michael Brooks
Forgot to say that the left is q=25,m=6 and the right is q=90,m=6.
You are also welcome, user.
Kevin Lopez
I don't think I need FLIF after this video
Nolan Reyes
How does it compare to avif?
Henry Sullivan
>avif who?
Nathaniel Stewart
What the video doesn't show is what happens if you edit the image between the reencodings.
Brody Thompson
>edit the image between the reencodings No thanks. I'm not that retard.
Mason Lee
This isn't about you, user. Most JPEG recompression probably happens due to clueless, careless users.
Joshua Johnson
>clueless, careless users They deserve it.
Liam Sullivan
Ga weg jon
Jose Richardson
It is not just they who suffer for it. OC gets preserved in degraded quality because the only surviving copy is the one some idiot recompressed. Separating the compression from the quality reduction would in large part solve this problem.
Jordan Thomas
>OC gets preserved in degraded quality because the only surviving copy is the one some idiot recompressed. the issue at hand is people not really giving a shit before the content is lost, not that the content's only surviving iteration is a second generation 4:2:0 80q jpg.
Evan King
Sure, but the big difference between people and technology is that you can fix technology.
Dylan Russell
>you can fix technology History teaches us that you need to burn it to the ground before you can rebuild it
input="$1" for i in $(seq 1 "$generations") do output="$output_prefix$(printf '%05u.webp' "$i")" composite -gravity center mask.png "$input" temp.png encode "$method" "$quality" temp.png "$output" input="$output" done
Mask and no mask after 200 generations. The quality is, again, q=25 and q=90 with m=6. Aside from the discoloration around the text, the masked images are not very significantly worse at q=90.
What size does your 1000th WebP have? Mine's 152.8KB. Perhaps they made the quality parameter more aggressive when it comes to saving file size.
Anthony Anderson
Why should there be? We already have webp. This useless forcing of different open standards is dumb, people develop them anyways, there's no need for competition, it's only going to hurt the user.