gm-binary2

0.3.2 • Public • Published

gm-binary2

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

Usage

var gmBin = require('gm-binary');
console.log(gmBin.gmPath); // /path/to/node_modules/gm-binary/bin/mac/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.

Copyright

GraphicsMagick is Copyright © GraphicsMagick Group

Ghostscript is Copyright © Artifex Software, Inc.

Readme

Keywords

Package Sidebar

Install

npm i gm-binary2

Weekly Downloads

6

Version

0.3.2

License

MIT

Last publish

Collaborators

  • coolrice