ok folks, i have a texture class i have written to include for every openGL program i am writing. it supports .bmp and .tga files and even has an option when you instantiate your texture variable, to tell the class if you are using a big endian machine(i.e. SGI, SUN). by default its of course little endian. Now i want to add to this for even more advanced projects and to allow for more portability by adding support for .jpeg files. I have done some searching and was wondering what would i do as the first step or the first few steps in adding this support. how does .jpeg using byte swapping differ from .bmp or .tga for example. thanks in advance! btw i might be willing to give out this class if you ask nicely hehe.