Closed drhuseyinunal closed 1 year ago
i am using nodejs ES6.
const encoder = new GIFEncoder(img.width, img.height, 'neuquant'); encoder.setTransparent(); encoder.setDispose(true)
const encoder = new GIFEncoder(img.width, img.height, 'neuquant', false); encoder.setTransparent(); encoder.setDispose(true)
const encoder = new GIFEncoder(img.width, img.height, 'neuquant', true); encoder.setThreshold(100); encoder.setTransparent(); encoder.setDispose(true)
const encoder = new GIFEncoder(img.width, img.height, 'neuquant', true); encoder.setThreshold(0); encoder.setTransparent(); encoder.setDispose(true)
i tried all of those different codes. but the issue is still continue. i am attaching the original gif, and the encoder-2's gif:
ORIGINAL:
gif-encoder-2's:
The issue was caused by the code 'encoder.setDispose(true)'. deleting this fixed the problem encoder.setDispose(true)
i am using nodejs ES6.
i tried all of those different codes. but the issue is still continue. i am attaching the original gif, and the encoder-2's gif:
ORIGINAL:![aDancingGuy](https://github.com/benjaminadk/gif-encoder-2/assets/47122514/56c6f60c-5498-4562-a4b3-da8946355388)
gif-encoder-2's:![dancing](https://github.com/benjaminadk/gif-encoder-2/assets/47122514/f3f690b5-50b7-4843-b366-41b11d98fabd)