Changed word 'reformated' to read 'reformatted'

master
Ryan Wholey 9 years ago
parent 27358c2ee9
commit abc1f87ace
  1. 4
      README.md

@ -159,12 +159,12 @@ gm('/path/to/my/img.jpg')
// gm will provide image data in that format
gm('/path/to/my/img.jpg')
.stream('png', function (err, stdout, stderr) {
var writeStream = fs.createWriteStream('/path/to/my/reformated.png');
var writeStream = fs.createWriteStream('/path/to/my/reformatted.png');
stdout.pipe(writeStream);
});
// or without the callback
var writeStream = fs.createWriteStream('/path/to/my/reformated.png');
var writeStream = fs.createWriteStream('/path/to/my/reformatted.png');
gm('/path/to/my/img.jpg')
.stream('png')
.pipe(writeStream);

Loading…
Cancel
Save