home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!frmop11!psuvm!gnr100
- Organization: Penn State University
- Date: Tue, 26 Jan 1993 09:05:36 EST
- From: <GNR100@psuvm.psu.edu>
- Message-ID: <93026.090536GNR100@psuvm.psu.edu>
- Newsgroups: comp.graphics
- Subject: Displaying .BMP format
- Lines: 21
-
-
-
- I need information on displaying .BMP files for a project I am
- working on. I need to know:
- 1. How to determine the color of each pixel. I believe
- that this is done simply by reading a byte out of
- the file - the file is a direct image of the screen,
- byte1=pixel1, byte2=pixel2, ..., but I could be wrong.
-
- 2. How to determine size of an image. If my former
- assumption is correct, how is a new line detected?
- Does a .BMP file have the same number of bits as the
- screen has pixels?
-
- If someone could direct me to documentation and/or source code
- for this, I would be very grateful.
-
- Thank you very much.
-
- Gordon Rogers
- gnr100@psuvm.psu.edu
-