thumbolidator
v0.0.6
Published
A thumbnail-generator
Downloads
2
Readme
Thumbolidator
Thumbnail image consolidator
See also React Thumbolidator
This is still a proof of concept. Please don't use in any serious project.
Try demo here!
Concept
Jpegtran can merge jpeg files into a big jpeg file. This will help reduce downloading many number of jpeg files through http.
Jpegtran drop-patch does not re-encode jpegs so thumbnails can be added later on without dropping quality.`
Thumbolidator creates two tiles of the thumbnails, Micro and Thumbo. The Thumbo
react component will shows a micro thumbnail while loading thumbnails.
Install
npm install -g thumbolidator
Usage
$ thumbolidator ./public/images/2019-11-23/
Todos and limitations
- [x] Expose scripts to npm packages
- [ ] Paginating
.thumboldate
files- There is a maximum number of images in the directory
- [ ] Building
jpegtran
binary using gyp- currently runs only in Linux/Mac and might not run in some environment
- [ ] Add/remove thumbnails
License
MIT © kennyhyun