www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/07/08:17:27

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Organization: Materials Science Centre
To: djgpp AT delorie DOT com
Date: Fri, 7 Jun 1996 13:03:34 GMT
Subject: Re: bmp file format
Message-ID: <2411C364F54@fs2.mt.umist.ac.uk>

  mkoch AT chemie DOT uni-bremen DOT de (Mathias Koch) wrote (Subject: bmp file format):-

> I want to write a part of the graphic screen into a .bmp file. I changed the
> variable formats, I have found in a script, from 'DWORD' to 'unsigned long'
> and from 'WORD' to 'unsigned short', which should have the same length in
> bytes. I found, that the bytes within the variables are disordered in the
> file and no graphic program can read my bmp files! Can anyone help me, to
> fix this problem? Mathias

I wrote a djgpp C++ routine to write a graphical screen to a black-and-white
.PCX file.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019