OEWriteImageToBytesΒΆ

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

Same as the OEWriteImageToString function.

Note

In Python 2 the OEWriteImageToBytes function returns str.

In Python 3 the OEWriteImageToBytes function returns bytes.