Scratch that. I think it’s correct.
The height is positive and the bottom pixels come first in the binary data. (It’s easy to tell because the end of the sequence is when the fireflies are in sync – so the pixels are either all on or all off, mostly.)
So, are you sure there’s an issue with my file?