span>*args, **kwargs)</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">class ChemImage(ChemBase):
  def __init__(self,*args,**kwargs):
      super().__init__(self,*args,**kwargs)

  def __call__(self,smi,**kwargs):
    return self.smi2img(smi,**kwargs)
  
  def smi2img(self,smi,**kwargs):
      mol = self.smi2mol(smi,**kwargs)
      return MolToImage(mol,kekulize=self._kekulize,bondLineWidth=self._bondWi