Skip to main content
gamedev.net
🔒 Locked

bitmap poll

Started by OneEyeLessThanNone Mar 9, 2000 at 6:35 PM 4 replies 650+ views
Original Post
OneEyeLessThanNone
OneEyeLessThanNone
Anyone loading bitmaps the old way (pixel by pixel)? Or is everyone depending on DirectX or windows to load bitmaps? What formats do you all use? OneEyeLessThanNone - in need of new computer Edited by - OneEyeLessThanNone on 3/9/00 7:18:42 PM
Cloxs
Cloxs
I wrote my own program. I guess it loads pixel by pixel, but I''m not sure (I use stdio).
spejic
spejic
There is nothing wrong with getting Windows to do something for you. If it would write my games with one API call, I would call it.

LoadImage uses .bmp's. Paint.exe uses .bmp's. I use .bmp's.
---
Grandpa Simpson - "I never thought I could shoot down a German plane, but last year I proved myself wrong!"


Edited by - spejic on 3/9/00 9:25:13 PM
---Grandpa Simpson - "I never thought I could shoot down a German plane, but last year I proved myself wrong!"
Andrea
Andrea
Are there new tecniques to load bitmaps?
You can use Windows API or you can use your own functions...bmps are the simplest image format and it''s very easy to implement a loader (or a saver).
When you call fread(...) for example you specify a number of bytes to be read from disk...you have not to read pixel by pixel.
IpSeDiXiT
merlin9x9
merlin9x9
An even better idea than using Windows Bitmaps is to use something like, say, Targa. =) Or, try JPEG--there are many libraries out there that do most of the work for you. Windows Bitmaps are stupid, cumbersome, and unnecessarily large.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.