SVG outpu using mol.toBinFormat("svg")

User e7455c8684

20-03-2007 21:30:34

It doesn't work for unknown reason. Only pictures of characters, like "OH", "NH", "CH3".


mol.toBinFormat("jpeg") works.

ChemAxon 7c2d26e5cf

20-03-2007 21:52:25

Both JPEG and SVG export works for me.


Can you show me an example where you have got a problem?

User e7455c8684

20-03-2007 23:07:58

Tamas wrote:
Both JPEG and SVG export works for me.


Can you show me an example where you have got a problem?
My bad, I didn't call mol.clean(2,null,null). But jpeg doesn't need it, I was assuming the information is already there.

ChemAxon 7c2d26e5cf

21-03-2007 10:29:46

Indeed, SVG export does not clean automatically those structures that have not got coordinates. We will complete it.

ChemAxon 7c2d26e5cf

21-03-2007 11:27:46

I've fixed it: SVG export cleans the structure to display (if it has not got coordinates). This bugfix will be available in the next release.