The imagen 3 model returns the data problem

I specified output_mime_type=“image/png” when I asked the imagen 3 model to generate images. Why does the returned image_bytes data need to be base64.b64decode before it is normal png image binary data