azraeal wrote:I've found the cause of this problem.
The brief version is: incorrect GIF stream parsing internal to android.
Animated GIF is just a frame animation. However, in the gif I've attached, the subsequent frames ARE NOT THE SAME SIZE as the original frame. While the whole gif (first frame) is 250x242, subsequent frames start drawing from (1,1) down to (248,240). Android parses ALL frames as 250x242 based on the first frame and draws pixels from (0,0) to (250x242). Now, with the decidedly lack of several hundred pixels in the subsequent frames, this causes one frame to bleed into another and for one row to bleed into the next(or previous).
Workaround: Fix the gif.
gladish wrote:I think I have the same problem. When the gif displays, it looks ok, as soon as I start calling setTime() on the Movie to begin animation, it's all shifted. Not reading from proper offsets would make sense. I'm not familiar with working with gimp, etc. How do I tell if I have an animated gif with varying frame sizes, and if I do, how I "fix it".
Users browsing this forum: No registered users and 9 guests