openbabel png

My aim is to paste png of chemcal structures onto my plot. ButI cannot convert smiles to png format using openbabel ??? Do you have any idea why?

It’s not necessary to use OpenBabel for this.

You can render SMILES strings in KNIME and use the Renderer to Image node and then Image Writer node to create and save images of the structures.