fixed image rendering by specifying endian-correct image format.