You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to create gifs into jimp images then back into gifs. It works fine on some gifs but on some i get this weird bug: https://imgur.com/a/IlRYSLG
This is how I'm doing it:
GifUtil.read(file).then(inputGif=>{inputGif.frames.forEach((frame,i)=>{// create a Jimp containing a clone of the frame bitmapjimpCopied=GifUtil.copyAsJimp(Jimp,frame);Promise.all([jimpCopied,maskP]).then(function(images){varlenna=images[0];//var mask = images[1];//lenna//.greyscale()//.mask(mask, 0, 0);constfCopied=newGifFrame(newBitmapImage(lenna.bitmap))frames.push(fCopied);GifUtil.write("my-creation.gif",frames,{loops: 0}).then(gif=>{console.log("written");});});})})
Sorry if its some limitation i missed.
The text was updated successfully, but these errors were encountered:
Im trying to create gifs into jimp images then back into gifs. It works fine on some gifs but on some i get this weird bug: https://imgur.com/a/IlRYSLG
This is how I'm doing it:
Sorry if its some limitation i missed.
The text was updated successfully, but these errors were encountered: