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
this gif contains 2 application blocks in a row, so first frame lose gce info and renders without transparency
I fix it on my side, with this workaround
constvalidateAndFix=(gif)=>{letcurrentGce=null;for(constframeofgif.frames){currentGce=frame.gce ? frame.gce : currentGce;// fix loosing graphic control extension for same framesif("image"inframe&&!("gce"inframe)){frame.gce=currentGce;}}};
this gif contains 2 application blocks in a row, so first frame lose gce info and renders without transparency
I fix it on my side, with this workaround
but I think that a better way is fix this library or improve loop condition for frames inside https://github.com/matt-way/jsBinarySchemaParser
The text was updated successfully, but these errors were encountered: