ofxGifDecoder icon indicating copy to clipboard operation
ofxGifDecoder copied to clipboard

Unable to load 35% of gifs.

Open mradfo21 opened this issue 10 years ago • 0 comments

the
case GIF_DISPOSAL_UNSPECIFIED: _px.setColor(x,y,accumPx.getColor(cropX, cropY)); accumPx.setColor(x,y,_px.getColor(cropX, cropY));

line in ofxGifFile causes a hard crash with many gifs. maybe 35% of all gifs. I've spent the entire evening trying to get it to work and i can load every gif file if i always set accumPx (to a color) at the beginning of the "addFrame" function. It however introduced horrible artifacts of color. Its tough.. this thing you've made is amazing and works so well, except when it doesn't. I've kind of taken the debugging as far as i can without knowing why the whole thing works the way it does.

here are 3 gifs that ofXGifDecoder is unable to load: https://www.dropbox.com/sh/7ch5dsq9ctzg4jf/AABCD5DEToP-H_GHjAhJdYYOa?dl=0

is there some miracle chance you could take a look at this?

mradfo21 avatar Sep 24 '14 07:09 mradfo21