Re: [Open Babel] indexing atoms in png file

2023-04-28 Thread Geoffrey Hutchison
At the moment, no. Definitely a good suggestion. In the meantime, you might try svg2png tools. I’ve been using cairosvg and a Python script: import sys import cairosvg for argument in sys.argv[1:]: with open(argument) as f: svg = f.read() name = argument.split(".")[0] #

[Open Babel] indexing atoms in png file

2023-04-28 Thread MD Simulation
Hello, I see in an svg file, I can index the elements with "-xi", but I don't see this option with a png file. Is it possible? Thanks, Frank ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net