Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

easy image format to write loader for?

Name: Anonymous 2007-01-08 23:52

I've been going through some image format possibilities for my game and I can't decide on a commonly-used image format for my game's data.

Targa is a tried-and-true format but it has a lot of different standard-supported options of storing pixels such that I'd have to write like 8 or 9 functions to load and translate all the different ways a .TGA file's image can be stored.  Not fun.

.jpg and .png are a pain in the butt, even more mathematically annoying with their use of compression and all.  .gif is just not an option.

Buh buh buh... are there no super-simple image formats out there whose header specifications just look like this:

int width
int height
and then an array of guaranteed 24-bit {a,r,g,b} quadruples

Name: Anonymous 2007-01-12 17:00

Library needed an overhaul that causes applications to no longer function with the newer version because of an exploit?
or some idiot just decided it would be fun to change des_* to DES_*...

upgrade your code, problem solved. It will only take a few lines because you implemented it wisely... right?
it's still a pain in the ass (and ugly as hell)...


#inlcude <openssl/des.h>
#ifdef HEADER_NEW_DES_H
#include <openssl/des_old.h>
#endif


or


#include <openssl/des.h>
#ifdef HEADER_NEW_DES_H
#define des_fcrypt DES_fcrypt
#endif

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List