for i=1,Nof(t) write image t.mol[i] "chem_" + i + ".png" window=800//600endfor
https://molsoft.com/icm/icm-commands.html#write-image-chemical