Giter Club home page Giter Club logo

poly-flif's Introduction

Poly FLIF

A browser poly fill for FLIF image format. Since this image format is not supported natively by browsers yet, this project makes it possible to decode FLIF images with Javascript and to then render them on HTML5 Canvas.

Try the interactive demo if you are new to FLIF. The demo allows you to truncate the bitstream and to compare FLIF with other image formats.

For an example of how to use the PolyFLIF API to render FLIF images, see this page.

Status

Mostly stable but needs more testing.

Currently, has been tested manually on latest versions of Chromium and Firefox. No regression tests / CI setup yet.

JS payload size

As of version 0.3, the gzipped and minified payload size is 77KB.

Roadmap

  • Async processing (so as to not block the browser event loop during decode)
  • Animation speed and loop control. #2
  • Code size reduction and performance optimisation.

License

GNU Lesser General Public License (LGPLv3+) in accordance with the upstream license.

Contributing

How to Build

  • Install emscripten
  • Install Java (for the closure compiler)
  • cd src/
  • emmake make -f Makefile-emscript

CLA

When you send us a pull request, you acknowledge that

  • You either hold the copyright to your contribution or you have the permission from the copyright holder to submit the contribution to this project.
  • You grant the right to Uproot Labs to use your contribution in the project without any strings attached.

About FLIF

FLIF is a lossless image format based on MANIAC compression. MANIAC (Meta-Adaptive Near-zero Integer Arithmetic Coding) is a variant of CABAC (context-adaptive binary arithmetic coding), where the contexts are nodes of decision trees which are dynamically learned at encode time.

poly-flif's People

Contributors

jonsneyers avatar hrj avatar matthiaskrgr avatar fherzog2 avatar two-scoops avatar psykauze avatar saschanaz avatar k-brac avatar sipa avatar dvtpei avatar orlp avatar traneptora avatar thejaredwilcurt avatar 256bai avatar szborows avatar lehitoskin avatar peirick avatar nixman avatar waldyrious avatar professorjamesmoriarty avatar ssbssa avatar colindean avatar jeiea avatar heavyk avatar stek29 avatar gitter-badger avatar spillerrec avatar skal65535 avatar noshbar avatar c0nk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.