issues
search
saschanaz
/
libflif.js
Another trial to get FLIF to the web platform
ISC License
41
stars
2
forks
source link
Make a user script
#3
Open
saschanaz
opened
8 years ago
saschanaz
commented
8 years ago
Support
img
s and
video
s (
poster
attribute) first for simplicity
Partial load based on element actual size (API from FLIF library is required)
Load more when element gets larger
saschanaz
commented
8 years ago
Possible API use for 2 and 3:
Get resolution data from decoder with minimal bytes, which should tell the minimum required byte length to load
the variations
Read the most proper variation based on image element size and image resolution
Use resize event, then read more when required (intermediate decode data should be preserved for later additional decode?)
img
s andvideo
s (poster
attribute) first for simplicity