karai17/lapis-chan

Animated gif display incorrect size

Closed this issue · 0 comments

I believe when I moved the code to check if a file is a valid image, this broke animated gifs. I suspect the issue is that it is checking the size of the last frame, which may be as little as a single pixel compared to any key frames.

The likely fix for this is to grab the first frame of the gif to check the size.