Trying to read (__dirname + '/package.json') file at run-time won't work with
webpack. Using require('./package.json') instead allows webpack to include
package.json's source into the bundle.
Trying to read (__dirname + '/package.json') file at run-time won't work with
webpack. Using require('./package.json') instead allows webpack to include
package.json's source into the bundle.
it actually does something helpful now :)
we may call append with string arguments, each being another
image to append to the original source image. if a boolean `true`
is passed, the images will be appended left-to-right, otherwise
top-to-bottom.
Examples:
img = gm(src);
// +append means left-to-right
img.append(img1, img2) gm convert src img1 img2 -append
img.append(img, true) gm convert src img +append
img.append(img, false) gm convert src img -append
img.append(img) gm convert src img -append
img.append(img).append() gm convert src img -append
img.append(img).append(true) gm convert src img +append
img.append(img).background("#222") gm convert src img -background #222 +append
fixes#77
* Allow for first arg of gm() to be input stream, filename or width
* Use 'spawn' instead of 'exec', arguments no longer need escaping
* Retain original write() API for complete backwards compatibility
* Add stream() method, returning stdout and stderr ReadableStreams
* NPM now requires Node v0.4.2
* Upgrade gleak to 0.2.2