text2bmp.c modified