can now handle bmp with bottom-up pixel matric and 32bpp color map