Use hex2bin to generate an image