OERenderMoleculeToBytes

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

Same as the OERenderMoleculeToString function.