Oddities icon indicating copy to clipboard operation
Oddities copied to clipboard

DIB: handle images of odd width

Open ForNeVeR opened this issue 1 year ago • 0 comments

@ForNeVeR I found a bug in Dib.fs. In particular, stride was incorrectly calculated in odd-width bitmaps.

It seems that there are no such sprites in the game files anymore, but if you want to put this in a external library, you will need to check the 1bpp and 8bpp formats for this bug.

Originally posted by @sotiredofyours in https://github.com/ForNeVeR/O21/issues/79#issuecomment-1511758090

ForNeVeR avatar Apr 17 '23 20:04 ForNeVeR