eugeneware / gifencoder

Server side animated gif generation for node.js
Other
470 stars 49 forks source link

Encoder does not prevent PNG Alpha #44

Open martenzander opened 4 years ago

martenzander commented 4 years ago

When using gifencoder in combination with a png-file-stream it sets transparent pixels back to a default black color. Since my pngs do contain black color I cannot just simply use the setTransparent() method to remove black. This would destroy my image.

Any ideas on how to prevent the pngs alpha channel?

gustavoiha commented 11 months ago

I'm eager to make transparent gifs as well