picture2hex and hex2picture