npm

Does your artifact manager get in the way? Join us on Oct. 8 at 10am PT, to discuss how npm can help.Sign up »

magick-loader

1.0.0 • Public • Published

magick-loader

A webpack loader for processing images with GraphicsMagick.

Installation

  1. Install GraphicsMagick
  2. npm install --save-dev magick-loader
  3. If the loader doesn't work, try installing ImageMagick

Usage

require('file!img!magick?-resize 1920x1080!./image.jpg');

The query string (-resize 1920x1080 in the example) will be passed to GraphicsMagick as command line parameters (gm's .out() method is used for this).

install

npm i magick-loader

Downloadsweekly downloads

2

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability