0.0.6 • Published 6 years ago

thumbolidator v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Thumbolidator

Thumbnail image consolidator

See also React Thumbolidator

This is still a proof of concept. Please don't use in any serious project.

NPM

thumb.micro thumb.micro

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

  • 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

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago