image-transform
v1.0.9
Published
image transformation utility with crop / stretch / fit methods
Downloads
13
Maintainers
Readme
image-transform
image transformation utility with crop / stretch / fit methods
overview
Use this image transformer to read images from a physical location, apply transformations on a copy, and keep the copy cached for future use.
dependencies
Install ImageMagick
transformations
The image transformations may be used serially for the same image.
- crop: takes position (x, y) and dimensions (width, height) and crops the given image.
- stretch: takes dimensions (width, height) and resizes/crops the image to stretch within the dimensions container
- fit: takes dimensions (width, height) and force fits the image to the container
usage
Check out this tutorial to get started.
copyright and license
Code and documentation copyright 2016 akon. Code released under the MIT license.