Skip to content

Commit

Permalink
Merge pull request #101 from waldyrious/progress-msg
Browse files Browse the repository at this point in the history
Add a progress message when starting conversion
  • Loading branch information
vvo authored Jan 22, 2018
2 parents 8375290 + 2d8898b commit a8460ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/gifify
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ function encode() {
}
}

if(outputStream !== process.stdout) {
process.stdout.write("Generating GIF, please wait...\n");
}

var gifStream = gifify(input, options);
gifStream.pipe(outputStream);
gifStream.on('error', abort.bind(null));
Expand Down

0 comments on commit a8460ae

Please sign in to comment.