home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14220 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!frmop11!psuvm!gnr100
  2. Organization: Penn State University
  3. Date: Tue, 26 Jan 1993 09:05:36 EST
  4. From: <GNR100@psuvm.psu.edu>
  5. Message-ID: <93026.090536GNR100@psuvm.psu.edu>
  6. Newsgroups: comp.graphics
  7. Subject: Displaying .BMP format
  8. Lines: 21
  9.  
  10.  
  11.  
  12.           I need information on displaying .BMP files for a project I am
  13.           working on.  I need to know:
  14.                    1.  How to determine the color of each pixel.  I believe
  15.                        that  this is done simply by reading a byte out of
  16.                        the file - the file is a direct image of the screen,
  17.                        byte1=pixel1, byte2=pixel2, ..., but I could be wrong.
  18.  
  19.                    2.  How to determine size of an image.  If my former
  20.                        assumption is correct, how is a new line detected?
  21.                        Does a .BMP file have the same number of bits as the
  22.                        screen has pixels?
  23.  
  24.           If someone could direct me to documentation and/or source code
  25.           for this, I would be very grateful.
  26.  
  27.                            Thank you very much.
  28.  
  29.                                   Gordon Rogers
  30.                                   gnr100@psuvm.psu.edu
  31.