Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/couto/simgr
https://github.com/couto/simgr
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/couto/simgr
- Owner: Couto
- License: mit
- Created: 2014-06-23T16:44:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-12T13:26:01.000Z (about 5 years ago)
- Last Synced: 2024-04-14T07:55:37.642Z (7 months ago)
- Language: JavaScript
- Size: 18.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simgr - Simple Image Resizer
Simgr creates different variants of your images, meaning different formats and sizes.
However, instead of the usual batch resizing,
Simgr creates each variant on demand.
Empirically, this works better on low memory platforms.## Features, Support, and Limitations
- Validation for HTTP streams
- Orientation correction
- Uses [sharp](https://github.com/lovell/sharp) for fast resizing
- Converts GIFs to HTML5 videos using ffmpeg
- `sha256`s to keep track of your files and avoid duplicates
- Original images and variants are stored in separate buckets for better storage control
- Concurrency handling so you don't drain your memory and CPU## Requirements
- UNIX
- Node 0.11+
- `VIPS`
- `ImageMagick`
- `ffmpeg`## Notes
- `.save()` does not assert `content-length` or body length.
- `.identify()` uses ImageMagick to check whether a file is an image,
which in reality means "a supported type of image".
- `.identify()`'s signature calculation takes a lot of time, at least with large images.
- Need to support color correction again
- We should minimize transcoding as much as possible when dealing with original images
- Animated WebP
- APNG