hey tony.. what have you meant with the "different variations in the BMP file format" ?

yup i've tested the program only with PSP and it worked for me

the thing with the two bytes and the end of the file would be no problem to change... can someone mail/send me please one file that's in that format so i can implement that in the program ?

the wohle thing with the GIF decoding is a bit to big for me... would be to much work for me i think...
if you can save the image as a GIF-file, you could save it also in BMP format, right?.. or why do you prefer the GIF-format ?