[Ohrrpgce] [ohrrpgce/ohrrpgce] BMP export with width % 4 == 1 is broken (#1143)

Ralph Versteegen notifications at github.com
Sat Aug 8 06:44:06 PDT 2020


Exporting a 16-color BMP with ` width % 4 == 1` (e.g. 33x40) results either in the image being skewed, e.g.
![badbmpexport](https://user-images.githubusercontent.com/1165449/89711960-b1ad1200-d9e1-11ea-95d6-371309200135.png)

or it produces a completely invalid file, with ImageMagick reporting:
```
display: length and filesize do not match `aaa largeenemy set 1.bmp' @ error/bmp.c/ReadBMPImage/846.
display: insufficient image data in file `aaa largeenemy set 1.bmp' @ error/bmp.c/ReadBMPImage/990.
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1143
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20200808/fce8c3d8/attachment.html>


More information about the Ohrrpgce mailing list