🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #266

reading bitmaps

#266
From: aturner
Date: Wed, 15 Apr 1998 00:00
13 lines
1341 bytes
  I am trying to write a C++ program to read and access the pixel data in a
bitmap file and print the data to a file.  I want to keep it simple, just load
and read the bitmap file in binary form, then access the pixel data array and
write the array to a file so that I can use the data later.
  I can read the headers, but am not sure how to read the pixel values.
 PLEASE HELP.

  Andy Turner,
  aturner@bandag.com

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading
Technical Details
Message-ID: <6h3253$jcq$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e433,93970c7d70a2af40,start
X-Google-Attributes: gid10e433,public
X-Google-Thread: 11307a,93970c7d70a2af40,start
X-Google-Attributes: gid11307a,public
X-Google-Thread: fdc2a,93970c7d70a2af40,start
X-Google-Attributes: gidfdc2a,public
From: aturner@bandag.com
Subject: reading bitmaps
Date: 1998/04/15
Message-ID: <6h3253$jcq$1@nnrp1.dejanews.com>
X-Deja-AN: 344378943
To: aturne@qconline.com
X-Http-User-Agent: Mozilla/4.05 [en] (Win95; I ;Nav)
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Wed Apr 15 19:34:59 1998 GMT
Reply-To: aturner@bandag.com
Newsgroups: comp.os.os2.programmer.misc,comp.graphics.algorithms,borland.public.cppbuilder.graphics