Screenshots taken on the device are sometimes broken

When taking screenshots on the device about half of the gif files are unreadable by Windows. In one case I have noticed the screen to be displaced, the rightmost columns of pixels showing up on the left side of the screen.

Here the files without a preview can’t be opened.

InkedScreenshot 2021-05-15 12.17.22
This is a rare occurrence, but in this screenshot the right side of the screen is showing on the opposite side.

How to reproduce: take screenshots from the pause menu on any application, this problem affects C and Lua games alike.

1 Like

yikes! Can you attach one of the broken gifs here and I’ll see if I can figure out what I goofed up? Thanks!

Sure! Screenshot 2021-05-15 12.17.27

And here’s the rest of the screenshots, in case the .pdi files can be useful Broken (36.3 KB)

got it, thanks! I have the encoder as static data, meaning it’s reused every time. And there was a bit of state that I’d forgotten to clear out. :frowning: Will be working in 1.1!