• Docs »
  • OERenderMoleculeToBytes

OERenderMoleculeToBytesΒΆ

OERenderMoleculeToBytes(ext: str, disp: OE2DMolDisplay, clearbackground: bool = True) -> str
OERenderMoleculeToBytes(ext: str, mol: OEMolBase, clearbackground: bool = True) -> str
OERenderMoleculeToBytes(ext: str, disp: OE2DMolDisplay, clearbackground: bool = True) -> bytes
OERenderMoleculeToBytes(ext: str, mol: OEMolBase, clearbackground: bool = True) -> bytes

Same as the OERenderMoleculeToString function.

Note

In Python 2 the OERenderMoleculeToBytes function returns str.

In Python 3 the OERenderMoleculeToBytes function returns bytes.