Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gm-binary

Glitchbone38MIT0.2.1

GraphicsMagick binary as a local dependency for OS X

GraphicsMagick

readme

gm-binary

GraphicsMagick binary (Ghostscript included) as a local dependency for OS X

Usage

var gmBin = require('gm-binary');
console.log(gmBin.gmPath); // /path/to/node_modules/gm-binary/bin/gm

The module automatically add the /bin folder to the PATH variable

Infos

The provided GraphicsMagick binary is built using the following configure parameters:

--disable-dependency-tracking --disable-shared --disable-installed --enable-broken-coders --with-modules --with-quantum-depth=16 --without-gslib --without-x --without-lcms2 CC=clang CXX=clang++

Development

Install Homebrew

Install mac dylib bundler

Adjust build parameters in graphicsmagick-custom.rb

Run the build script:

./build-gm

Author

Adrien Glitchbone

License

gm-binary is available under the MIT license. See the LICENSE file for more information.

GraphicsMagick is Copyright © GraphicsMagick Group

Ghostscript is Copyright © Artifex Software, Inc.