Socket
Book a DemoInstallSign in
Socket

magick-loader

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magick-loader

A webpack loader for processing images with GraphicsMagick

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

magick-loader

A webpack loader for processing images with GraphicsMagick.

Installation

  • Install GraphicsMagick
  • npm install --save-dev magick-loader
  • 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).

Keywords

webpack

FAQs

Package last updated on 25 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts