Frame 1 uses more than 256 color indexes
Getting the above error trying to load and save a gif
return GifUtil.read(downloadedFile)
.then(inputGif =>
// Pass inputGif to write() to preserve the original GIF's specs.
GifUtil.write(outputFileName, inputGif.frames, inputGif))
Tried with a few gifs from the internet with same result. Can use quantize function but that causes massive distortion.
That would indeed be a bug. Thanks for reporting it. I tried with a few gifs and am not getting the error. Could you point me to a gif that gives the error?
im reading a gif and then converting the frames to jimp frames and then im using the print function of jimp to write text on each of the frames and then im converting them back into gif frames and then combining them and encoding them as a gif.
however this process takes a lot of time because i have to quantize the frames every time i print the letters on the frames using Jimp but when im just converting it to jimp frame and back to a gif i dont need to quatize it(only when im not writing text on it)
please tell me if there is any way by which i will not have to quatize it every time i write something on the gif
having the same issue. please fix