Skip to main content
gamedev.net
๐Ÿ”’ Locked

Loading bitmaps

Started by Basiror Nov 29, 2001 at 1:26 PM 0 replies 250+ views
Original Post
Basiror
Basiror
in the nehe tuts you use this AUX_RGBImageRec *LoadBmp(char *filename); well what type of bmpscan i use only .bmp or also .jpg, tga and so on and are there any other methods to do this???? for example load them out of a wad file like hl does
http://www.8ung.at/basiror/theironcross.html
Fruny
Fruny
.jpg files aren''t bitmap, they''re in JPEG format.
.tga files aren''t bitmap, they''re in TARGA format.
and so on.

Do something like a google search for "image file loading libraries".
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." โ€” Brian W. Kernighan

Topic Locked

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

Sign in to reply to this topic.