Jump to content


Photo

Free Lossless Image Format (FLIF)


  • Please log in to reply
103 replies to this topic

#1 ONLINE   _wb_

_wb_

    Microbe

  • Moderators
  • 5319 posts
  • Local time: 02:31 PM
  • LocationBrussels, Belgium

Posted 06 September 2015 - 09:11 AM

I'm working on a new lossless image compression algorithm, called FLIF.

 

It compresses better than PNG, lossless JPEG 2000, and Google's WebP format in lossless mode.

 

It's also better at progressive decoding of partially downloaded files. Here's a little demo of that, comparing FLIF to PNG with Adam7 interlacing:

 


pandora.png

#2 OFFLINE   Linux-SWAT

Linux-SWAT

    Advanced Member

  • Members
  • PipPipPip
  • 6792 posts
  • Local time: 02:31 PM
  • LocationParis, France

Posted 06 September 2015 - 09:49 AM

Is the compression also faster ?

 

Which licence will you use ?



#3 ONLINE   _wb_

_wb_

    Microbe

  • Moderators
  • 5319 posts
  • Local time: 02:31 PM
  • LocationBrussels, Belgium

Posted 06 September 2015 - 09:53 AM

No, not faster.
License will be GPL. Maybe LGPL for a library version.
pandora.png

#4 OFFLINE   Exophase

Exophase

    Advanced Member

  • Members
  • PipPipPip
  • 4198 posts
  • Local time: 08:31 AM
  • LocationCleveland, OH

Donator

Posted 06 September 2015 - 09:54 AM

Sounds like it's really something, one person beating all these long established algorithms. Phenomenal work.

Do you think you'll be able to post technical information on the algorithm soon?

#5 OFFLINE   ekianjo

ekianjo

    Advanced Member

  • Members
  • PipPipPip
  • 7830 posts
  • Local time: 09:31 PM
  • Location神戸市、日本 (Japan)

Posted 06 September 2015 - 10:30 AM

Impressive work - looking forward to when you release it.


*** Check Pandoralive.info for the latest news on software, hardware and tutorials for the Pandora - as well as the Pyra. ***


#6 OFFLINE   EvilDragon

EvilDragon

    Administrator

  • Administrators
  • 8872 posts
  • Local time: 02:31 PM
  • LocationIngolstadt

Donator

Posted 06 September 2015 - 10:30 AM

Wow, very very interesting.

Especially in seeing HOW MUCH more it compresses compared to PNG!

I expected a few bytes, but it actually is A LOT of bytes :o

 

I love that. I especially love optimizing such things in a world where most don't even care about that anymore (as everyone thinks it's not worth it because computers are fast enough and size doesn't matter)

 

Great work!




Got some spare bitcoins and you want to support me?
Send them here: 1JFMx842TLW8sLKS3gn7kcLsNbXcLqXupK


#7 ONLINE   ptitSeb

ptitSeb

    Serial Porter

  • Members
  • PipPipPip
  • 5211 posts
  • Local time: 02:31 PM
  • LocationFrance, near Lyon

Posted 06 September 2015 - 10:42 AM

Impressive work and impressive results!



#8 ONLINE   SONY

SONY

    PlayStation

  • Members
  • PipPipPip
  • 10357 posts
  • Local time: 10:31 PM
  • Location- AUSTRALIA PlayStation Vita

Donator

Posted 06 September 2015 - 10:55 AM

Awesome stuff, mate. As usual, OpenPandora.org is the place to be! :D
I'm a proud owner of an OpenPandora Pandora and a Game Control Mount GCM10 - DUALSHOCK®4 wireless controller to Xperia™ smartphone.

By the way, please do not view my forum boards profile, as there are quite a few large images being shown.
<<< WARNING: DO NOT CLICK ON THIS LINK >>>

#9 OFFLINE   benoitb

benoitb

    Advanced Member

  • Members
  • PipPipPip
  • 173 posts
  • Local time: 01:31 PM
  • LocationFrance

Posted 06 September 2015 - 11:02 AM

Good stuff. Even for lossy, at only 20% of the download, your render already looks excellent.

#10 OFFLINE   Kev2442

Kev2442

    Advanced Member

  • Members
  • PipPipPip
  • 148 posts
  • Local time: 02:31 PM
  • LocationFrance, Level 101, Corridor G, 7th Door on the Right. Ask the janitor for directions.

Posted 06 September 2015 - 12:40 PM

Sounds awesomely impressive.

How does it compare to acceptable-quality JPEG compression ?

As a user of lossless formats, I'm quite interested.

 

OpenPandora.org definitely is the place to be. ^_^



#11 OFFLINE   Ziz

Ziz

    Let's rock'n'troll!

  • Members
  • PipPipPip
  • 1310 posts
  • Local time: 02:31 PM
  • LocationUtopia

Posted 06 September 2015 - 01:04 PM

Quite interesting. Looking forward to more details!


 Post generated in 0.1337 seconds.

I am a leaf on the wind - watch how I soar. Wash

I release all my applications and games also for different handhelds, Linux (x86 and amd64) and Win32. Have a look at my page: http://ziz.openhandhelds.org

#12 OFFLINE   magic_sam

magic_sam

    Advanced Member

  • Members
  • PipPipPip
  • 459 posts
  • Local time: 01:31 PM
  • LocationNîmes, South of France

Donator

Posted 06 September 2015 - 03:04 PM

Hi :)

 

I love these new image formats ! It reminded me of BPG, execpt FLIF is not patent encumbered (AFAIK).

 

@ _wb_: keep up the good work !

 

Cheers, Magic Sam


Life is a matter of priority -- TV Ad
Evil prevails when good men do nothing -- Superman

Join the FSF !

 


#13 OFFLINE   Moxie

Moxie

    Old git

  • Moderators
  • 2065 posts
  • Local time: 02:31 PM
  • LocationThe south of Sweden

Posted 06 September 2015 - 03:06 PM

I'm suitably (and that means: very!) impressed :D


"Whe are Pandorians, whe dont fit in a drawer, whe are an cabinet" -Matzesu

"We don't want to win a beauty-contest, for us it's more important to drive off the road." - F_Slim

 

"Rule 0.25: Moxie can and will be insensitive."  - TrashyMG


#14 OFFLINE   Fusion_Power

Fusion_Power

    Advanced Member

  • Members
  • PipPipPip
  • 3213 posts
  • Local time: 02:31 PM

Posted 06 September 2015 - 03:29 PM

I love that. I especially love optimizing such things in a world where most don't even care about that anymore (as everyone thinks it's not worth it because computers are fast enough and size doesn't matter)


I share that Philosophy. :)
Well, not sure if the World needs another Image Format, we already have to many of everything there imho, but it's nice to see what's still possible in already established areas. Now please make something that reduces Video bandwidth without loosing quality. Youtube & Co. really need that (their image quality sucks balls, even on their "HD"! ). -Yes, I have slow Internet but like to watch Streams, I'm trained to suffer. XD

#15 OFFLINE   mcobit

mcobit

    Does this thing work?

  • Members
  • PipPipPip
  • 5904 posts
  • Local time: 02:31 PM
  • LocationFrankfurt a.M., Germany

Donator

Posted 06 September 2015 - 03:59 PM

Wow. That is really impressive. I like it a lot.
So ut has the same features as png? But saves 1/3rd of the size and has better progressive display properties? Sell it to google ;-)

#16 OFFLINE   ible

ible

    Advanced Member

  • Members
  • PipPipPip
  • 311 posts
  • Local time: 05:31 AM
  • LocationPreviously in the Netherlands

Donator

Posted 06 September 2015 - 04:21 PM

how well does it compare in file-size to BPG?  interested in checking out the source eventually.  will you use git or something else?

 

[edit]also, any hints as to the idea behind the compression?



#17 ONLINE   _wb_

_wb_

    Microbe

  • Moderators
  • 5319 posts
  • Local time: 02:31 PM
  • LocationBrussels, Belgium

Posted 06 September 2015 - 05:14 PM

how well does it compare in file-size to BPG?  interested in checking out the source eventually.  will you use git or something else?

 

[edit]also, any hints as to the idea behind the compression?

 

I'll do a compression comparison with some other formats, I'll include BPG too.

I'll put the source on github.

 

Some of the main ideas behind the compression:

- it uses CABAC for entropy coding, just like FFV1

- for interlacing it uses a generalization of PNG's Adam7; unlike PNG, the geometry of the 2D interlacing is exploited heavily to get better pixel estimation, which means the overhead of interlacing is small (vs simple scanline encoding, which has the benefit of locality so usually compresses better)

- the colorspace is a lossless simplified variant of YIQ, alpha and Y channel are encoded first, chroma channels later

- the real innovation is in the way the contexts are defined for the arithmetic coding: during encoding, a decision tree is constructed (a description of which is encoded in the compressed stream) which is a way to dynamically adapt the CABAC contexts to the specific encoded image. We have called this method "MANIAC", which is a backronym for "Meta-Adaptive Near-zero Integer Arithmetic Coding".

 

I'll have to write a paper about this at some point to explain everything.


pandora.png

#18 OFFLINE   ZXDunny

ZXDunny

    Advanced Member

  • Members
  • PipPipPip
  • 2013 posts
  • Local time: 01:31 PM

Posted 06 September 2015 - 05:21 PM

You should pass the image through the google neural network, and compress it based on its findings:

"Dog, small, Chihuahua, name of 'bob' at 100,240"

You'd save masses in image compression.

D.
10 PRINT "SCUNTHORPE!"(2 TO 5): GOTO 10

#19 OFFLINE   FelixNemis

FelixNemis

    Advanced Member

  • Members
  • PipPipPip
  • 210 posts
  • Local time: 07:31 AM

Posted 06 September 2015 - 06:22 PM

This is really cool, I'd also like to see compaison of compression/decompression speed compared to others.



#20 OFFLINE   WizardStan

WizardStan

    Advanced Member

  • Members
  • PipPipPip
  • 8831 posts
  • Local time: 08:31 AM

Posted 06 September 2015 - 06:26 PM

Brilliant work, I copy Exophase's sentiment, pretty amazing to beat out such long standing formats.
Now I challenge you to write a codec for the Pandora's DSP for it :P


2 user(s) are reading this topic

1 members, 1 guests, 0 anonymous users