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
Images that used to work fine now fail to convert with this error:
The size of each frame image is wrong.
I found the reason, since this project seems to be unmaintained, I didn't submit a PR, but as an issue, so that more people who encounter this error can see it.
Use canvas.toDataURL('image/webp') to convert the same image and save it as a webp image.
Edge(107) has 80 bytes of 0:
Chrome (108) removed these bytes, resulting in a conversion error.
xuejianxianzun
changed the title
Error 'Uncaught frame [x] has a different width' since Chrome version 108
Error 'Frame 2 has a different width' since Chrome version 108
Dec 3, 2022
Images that used to work fine now fail to convert with this error:
The size of each frame image is wrong.
I found the reason, since this project seems to be unmaintained, I didn't submit a PR, but as an issue, so that more people who encounter this error can see it.
Since Chrome 108 the 80-byte whitespace is removed, so the offset of the second part is 577 - 80 = 497.
I added code to detect
ChromeVer
beforethis.encodeFrames
:The text was updated successfully, but these errors were encountered: