eugeneware/gifencoder

How to use gm with GIFEncoder?

Closed this issue · 2 comments

I want to take the picture. Make of it a few frames with a different text. And generate one GIF file.
But if I try to do something simple (like the code below) the result is not what I expected.

var encoder = new GIFEncoder(32, 32);
gm('test/frame?.png').stream()
  .pipe(encoder.createWriteStream({ repeat: 0, delay: 500, quality: 10 }))
  .pipe(fs.createWriteStream('myanimated.gif'));

Result
myanimated

Wodki commented

@cawa-93 Do you still care about your problem?

No answer from issuer, closing.