internetarchive / dweb-mirror

Offline Internet Archive project
https://www-dweb-mirror.dev.archive.org/
GNU Affero General Public License v3.0
263 stars 27 forks source link

Work with .zip files for bookreader when available #254

Open mitra42 opened 5 years ago

mitra42 commented 5 years ago

For the offline version of Internet Archive we use pre-scaled files (to about 600 px) because both storage and bandwidth are significant constraints, but for Carl Malamud’s project he’s going to have the zip file locally, so in theory (if I can find a way to do it) we could pull the files out the zip and scale in the NodeJS server.

mitra42 commented 5 years ago

Does anyone know if there is a javascript version of the code we use to pull the individual files out of the zip and/or to do the resizing of the images ?