Open j4nos opened 1 year ago
You can try gifenc
Because my react-native-gifencoder is also some fork of gif.js
But in my react-native-runescape-text I replace react-native-gifencoder
with gifenc
for Fix when one color e.g. '#ff0000' only have 1 or 2 or 3 pixel in one frame, the generated gif pixel will be '#9f0000'; fix some frame not transparent but black; reduce gif size 10x
You can now use modern-gif to obtain the smallest GIF
If I do not clear each frame with a background color but try to use a global background color with gif.js, then image will look strange, black backgound everywhere and previous frame shines over, even if I tried turn off / on dispose effect. Though size will be reduced.
Look here: http://t44-post-cover.s3.eu-central-1.amazonaws.com/teszt45-axd0
https://github.com/jnordberg/gif.js
What is wrong with my settings?