image/rawp: support Decode/Encode.