Converts a bmp image to a ascii txt file