[plt-scheme] Bitmap Probleme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu May 20 10:58:53 EDT 2004

At Thu, 20 May 2004 16:50:01 +0200, "sly" wrote:
> I have transferred files in binary mode, i can open these files with gimp.
> But, when  i run my drscheme program i notice
> wxImage: /xxx/xxx/xxx/img/reload.bmp: Bogus BMP File!  (bitCount=32,
> Planes=1, Compression=0)
> in the shell.

Thanks --- I see the same thing. MrEd's current BMP reader doesn't
believe in 32-bit BMP files (only 1, 4, 8, and 24). I'll work on the
BMP reader.

Meanwhile, you could work around the bug by changing the format of the
file. For example, you might load it into a bitmap% under Windows and
then save it back as a PNG:

 (let ([bm (make-object bitmap% "reload.bmp")])
   (send bm save-file "reload.png" 'png))


Posted on the users mailing list.