image-transform

1.0.9 • Public • Published

image-transform

image transformation utility with crop / stretch / fit methods

VERSION DOWNLOADS ISSUES LICENCE

BUILD STANDARDJS DEPENDENCIES

NPM

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.

Package Sidebar

Install

npm i image-transform

Weekly Downloads

0

Version

1.0.9

License

MIT

Last publish

Collaborators

  • akon