saschanaz / libflif.js

Another trial to get FLIF to the web platform
ISC License
41 stars 2 forks source link

Purposes #1

Closed saschanaz closed 8 years ago

saschanaz commented 8 years ago

Purposes

  1. Any required change should directly be from original FLIF repo so that:
    • everyone can benefit
    • update can be easy
  2. Use Emscripten-provided file system (possibly WORKERFS) for direct file access without FLIF code change
  3. Use Web Worker for parallel process
  4. Support progressive loading where download can be stopped after achieving the max resolution that current page requires
  5. Encoder support

    Process

  6. Success building first as a manually runnable command line app which only exposes main() function
  7. Success decoding with Web Worker, without progressiveness
  8. Success building as a more function-exposed library for progressive loading
  9. Success decoding progressively
  10. Make the library fully function-exposed