node-imagemagick-native icon indicating copy to clipboard operation
node-imagemagick-native copied to clipboard

Implement the "negate" option

Open sholladay opened this issue 8 years ago • 1 comments

I want to achieve the following command line using this project:

convert input.png -negate output.png

Presumably something like:

const fs = require('fs');
const imagemagick = require('imagemagick-native');

fs.createReadStream('input.png')
    .pipe(imagemagick.streams.convert({
        negate : true
    }))
    .pipe(fs.createWriteStream('output.png'));

sholladay avatar Nov 30 '15 22:11 sholladay

Pull requests welcome. :)

elad avatar Dec 08 '15 10:12 elad