Flif: best image format out there

flif.info/

It uses less space than other file formats.
It supports animations and hdr.
It's opensource.
It can be loss or lossless.
It supports "Progressive decoding".
There is an already implemented JavaScript library for web browsers.


There were already a thread, but it has been archived.
Somebody asked to take a screenshot as png, compress it with pngquant and then convert it to flif

Here is the result
FLIF www36.zippyshare.com/v/um2fiAyB/file.html
PNG www36.zippyshare.com/v/qtjnyHKm/file.html

FLIF 87882 bytes
PNG 110282 bytes
Result: FLIF uses 79,688% of the PNG size while being awesome

Attached: 1539066758995.png (352x304, 190)

Other urls found in this thread:

flif.info/software.html
uprootlabs.github.io/poly-flif/),
github.com/FLIF-hub/FLIF/blob/master/README.md
github.com/lehitoskin/riff)
github.com/spillerrec/qt-flif-plugin)
my.mixtape.moe/kpgzra.png
my.mixtape.moe/qnmovp.flif
deviantart.com/superstupidy/art/Asagao-Academy-Landscape-615256885
my.mixtape.moe/yzlgdh.png
my.mixtape.moe/cexaux.flif
pngquant.org/
my.mixtape.moe/nzkhuj.png
my.mixtape.moe/mccksm.flif
my.mixtape.moe/wdqunc.png
my.mixtape.moe/kvxnss.flif
twitter.com/NSFWRedditVideo

>progressive decoding

79,6% of an already compressed one? Impressive

FLIF is a novel lossless image format which outperforms PNG, lossless WebP, lossless BPG, lossless JPEG2000, and lossless JPEG XR in terms of compression ratio.

According to the compression experiments we have performed [older results here], FLIF files are on average:

14% smaller than lossless WebP,
22% smaller than lossless BPG,
33% smaller than brute-force crushed PNG files (using ZopfliPNG),
43% smaller than typical PNG files,
46% smaller than optimized Adam7-interlaced PNG files,
53% smaller than lossless JPEG 2000 compression,
74% smaller than lossless JPEG XR compression.

Even if the best image format was picked out of PNG, JPEG 2000, WebP or BPG for a given image corpus, depending on the type of images (photograph, line art, 8 bit or higher bit depth, etc), then FLIF still beats that by 12% on a median corpus (or 19% on average, including 16-bit images which are not supported by WebP and BPG).

Wow

Attached: comparison.png (1080x1080, 138K)

Why hasn't it been implemented in browsers?

That's some pretty good shit here
Amazing format!

Attached: lg.png (147x51, 3K)

Features

FLIF currently has the following features:

Lossless compression
Lossy compression (encoder preprocessing option, format itself is lossless so no generation loss)
Greyscale, RGB, RGBA (also palette and color-bucket modes)
Color depth: up to 16 bits per channel (high bit depth)
Interlaced (default) or non-interlaced
Interlaced files can be decoded quickly at lower quality/resolution (“Responsive By Design”)
Progressive decoding of partially downloaded files
Animation support
Support for embedded ICC color profiles, Exif and XMP metadata
Rudimentary support to compress camera raw files (RGGB)
Encoding and decoding speeds are acceptable, but should be improved
Fallback web browser support via a JavaScript polyfill decoder (poly-flif)

How can I use this?

Got to say, by just looking at those numbers.. if the claims are true it's totally awesome.

does seems like it's early but it's got potential
flif.info/software.html

the big question that comes to mind is what kind of mine-field of patents, if any, flif is in. it is, sadly, quite hard to make something like this without running into some that you're not aware of

It's full open source

Progressive decoding, you can parallelize the download, there is already a js script that let browsers which don't support flif to use it (uprootlabs.github.io/poly-flif/), it supports animation... Flif must become the new web image standard!

you can convert your images to filf with imagemagick and when you want to watch your flif images you can convert it to other format using imagemagick

Can you find me a viewer (linux)?

Just compile Flif on your machine, it came with a built-in viewer
github.com/FLIF-hub/FLIF/blob/master/README.md

where that libflif.so can be used? which programs do recognize and use it?

>You are supposed to know that PNG works well for line art, but not for photographs. For regular photographs where some quality loss is acceptable, JPEG can be used, but for medical images you may want to use lossless JPEG 2000. And so on. It can be tricky for non-technical end-users.
>More recent formats like WebP and BPG do not solve this problem, since they still have their strengths and weaknesses.
>FLIF works well on any kind of image, so the end-user does not need to try different algorithms and parameters.
Nice

Attached: standards.png (500x283, 24K)

Riff (github.com/lehitoskin/riff) use it, and riff is used by Ivy to manipulate flif images. Probably also Qt-flif-plugin (github.com/spillerrec/qt-flif-plugin) use it under Linux.
You can also load it dinamically in your programs like every other library

>HEY GUISE CHECK OUT THIS OBSCURE UNNECESSARY FILE FORMAT THAT WILL NEVER EVER EVER EVER EVER BE USED BY ANY SANE PERSON

Attached: 1517584031445.gif (413x243, 51K)

An then comes google which imposes his shitty standards

And that's why sane person are bad

fuck off tim, we don't want to use HEIF either

>"REEE WHY ARE YOU TALKING ABOUT TECHNOLOGY"
Why are you even here? How about you go the fuck back to where you came from, you shit eating redditor. Kill yourself.

Small if true

samefag

my.mixtape.moe/kpgzra.png
my.mixtape.moe/qnmovp.flif
Flif is 65,73% of the png size and 57,28% of the original jpg

Attached: anime.jpg (5872x3118, 3.51M)

the samefagging here is astounding
one of the few times when mass replying actually fulfilled a purpose

Attached: 1300378751890.jpg (429x410, 23K)

deviantart.com/superstupidy/art/Asagao-Academy-Landscape-615256885

This draw, with pngquant, is 2,6MB (png) and 1,6MB(flif)
Flif is 61,53% of the png

my.mixtape.moe/yzlgdh.png
my.mixtape.moe/cexaux.flif

Attached: draw.png (8000x5000, 2.45M)

based and redpilled

Attached: pleroma_miniwa_moe_media_c8da62b.png (705x1134, 660K)

DEAD ON ARRIVAL
DEAD ON ARRIVAL
DEAD ON ARRIVAL
DEAD ON ARRIVAL
DEAD ON ARRIVAL

>There is an already implemented JavaScript library for web browsers.
lol

un aporte subestimado :^)

like your brain?

Attached: IMG_3471.jpg (233x225, 26K)

>using a filesharing site
What is this, 2010?
Quit being retarded.

You are retarded

enjoy waiting 3 minutes before your download of a fuckin image starts, you fuckin caveman

with a png it takes 6min
ggwp

for screen caps use
pngquant.org/

my.mixtape.moe/nzkhuj.png
my.mixtape.moe/mccksm.flif

I used pngquant, still flif is 72,04% of the png size

Attached: e.jpg (1300x868, 200K)

Boom

does it still look the same?

how do you use flif? i did convert this-thread.png this-thread.flif and this is the result
1021K Oct 12 14:25 'Screenshot_2018-10-12 g - Flif best image format out there - Technology - Jow Forums.png'
1.2M Oct 12 14:27 'Screenshot_2018-10-12 g - Flif best image format out there - Technology - Jow Forums.flif'

same thing after pngquant --nofs -s9
371K Oct 12 14:34 'Screenshot_2018-10-12 g - Flif best image format out there - Technology - Jow Forums-or8.png'
402K Oct 12 14:34 'Screenshot_2018-10-12 g - Flif best image format out there - Technology - Jow Forums-or8.flif'

You can share cosplay party pictures in flif and nobody will notice cause nobody uses it

Flif considered harmful, use Farbfeld instead

my.mixtape.moe/wdqunc.png
my.mixtape.moe/kvxnss.flif

Non pngquanted png is 1,1 MB
Png quanted png is 326,0 kB
Flif is 251,4 kB

Attached: s4.png (1908x6601, 1.05M)

>Farbfeld
Is it better than flif? Demonstrate it

Nice non-answer, faggot.

Interesting. Does flif support transparency like how png does?

FLIF is best but needs a shilling group behind it
FLIF will never become anything unless we get:
NATIVE support for Adobe/Affinity/whatever, preferably plugins too for older stuff
Browser support

>considered harmful,
?

yep

I really want to use flif, but in the end it all comes down to compatibility. Perhaps 10% of my pictures are stored only for me to see. The rest I want to be able to post or send to people without them complaining about some weird ass image format that they can't open.

>Somebody asked to take a screenshot as png, compress it with pngquant and then convert it to flif
Wait. How does that make sense? Shouldn't you convert the original screenshot to flif and THEN apply pngquant's lossy compression? Since when do you use a lossy source for comparisons?

>flif all your shit.
>update flif
>all your shit no longer supported.
nothin' persnel kid

>It can be loss or lossless.
Well it does kinda looks like a loss.

Attached: 7ed.png (322x213, 28K)

So how are you going to get apps and websites to adopt it?

all the samefagging in this thread is pathetic. How can you keep this up when someone already marked all of your posts?