www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/07/05:40:28

Date: Fri, 7 Jun 1996 11:33:42 +0100
Message-Id: <9606071033.AA21600@slater.chemie.uni-bremen.de>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
From: mkoch AT chemie DOT uni-bremen DOT de (Mathias Koch)
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

- Raw text -


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