home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!spool.mu.edu!uwm.edu!psuvax1!psuvm!gnr100
- Organization: Penn State University
- Date: Sat, 23 Jan 1993 14:49:47 EST
- From: <GNR100@psuvm.psu.edu>
- Message-ID: <93023.144947GNR100@psuvm.psu.edu>
- Newsgroups: comp.graphics
- Subject: Need Help displaying .bmp
- Lines: 25
-
-
- Hello.
-
- I am working on a project for which I need to display a .BMP
- file. I have a few questions, though.
-
- 1. Is .BMP the extension for bitmap? If so, I have a rough
- understanding of the file format, but I lack information on detecting
- the size (hight+width) of a graphic, and when a new row of pixels is to
- begin.
- 2. Could someone send me example code of how to read one in
- and display it to the screen? (in C)
-
- 3. Is there a way to convert .gif files to .bmp? If so, I
- would appreciate source code for that, also.
-
-
-
-
- Thank you very much,
-
- Gordon Rogers
- gnr100@psuvm.psu.edu
-
-
-