I'm trying to read a bmp header, but the bytes seem to be coming in in the wrong order (endianness).
How can I get all of the values I'm reading in from the header in the file in reverse order? Compare the output wikipedia shows vs what I'm getting: http://en.wikipedia.org/wiki/BMP_file_format#BMP_File_Header http://github.com/coolaj86/rgb565-tools#Bugs The code I'm working on: http://github.com/coolaj86/rgb565-tools/blob/master/src/bmptorgb565.c AJ ONeal
-------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
