modified to treat splash image data as big endian