OEWriteImageToBytes

OEWriteImageToBytes(ext: str, image: OEImage) -> bytes

Same as the OEWriteImageToString function.