image: add Options interface type for Decode/Encode parameters.