The ImageResponse can have more helpers to convert base64 to binary.

Review for ease of use in using the ImageResponse Maybe getResponseFormat can be an enum instead of a string