[plt-scheme] Bitmap Probleme

From: sly (sly at southeastern.zz.vg)
Date: Thu May 20 11:10:31 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))
>
>
> Matthew

Thank's a lot for your answer! I think i will turn my bmp file into 24bit
bmp. (my program must work on linux, mac and windows OS).
Thank's again for the fast anwser.

Sinserely

Sly




Posted on the users mailing list.