Open LKoehlinger opened 2 years ago
The good news are that your issue is reproducible.
The bad news are that your issue appears to be a bug with LZW decompressor in the Haxe library I use - you'll want to report it here; the sample code is as following for your GIF (tested on Neko VM)
import format.gif.Reader;
import sys.io.File;
class Main {
static function main() {
var i = File.read("test.gif");
var g = new Reader(i);
trace(g.read());
}
}
An example file:
https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_4b009a4695674a818d71d8894ac727a8/default/dark/1.0
The error thrown:
It appears that within the GifReader readPixels function the _dict array is never populated before being read from. I was developing a twitch chat integration for gamemaker and all animated emotes would crash the project upon being imported with the sprite_add_gif function. The issue is easily reproducable by simply downloading the example gif file and importing it using the sample project.