chrisben / imgcache.js

JS library based on the File API to cache images for offline recovery (target: cordova/phonegap & chrome)
Other
826 stars 216 forks source link

Feature Request: creating cache item from the IMG canvas instead of file transfer #194

Open badpenguin opened 7 years ago

badpenguin commented 7 years ago

Is there a way to cache existing images that have already been loaded by the browser? The only api that allows to create a new cache item seems to download the file again from the internet. Instead, i wish to populate the cache using the data in the IMG tag (canvas or whatever).

Is that possibile?