Hi,
In my experience, the SVG always has a transparent background and the b-option only renders the lines and the default text in white. Please see the attached screen shot of a webpage with grey background and two pics of benzene, one without and one with the -xb option.
Kind regards, Fredrik  11 nov 2011 kl. 10:38 skrev JP:
Is it possible to have a transparent background (or user specified) when converting to an svg? The choice of black and white looks very arbitrary.
I can only find this in the options:
b black background The default is white. The atom colors work with both.
- Jean-Paul Ebejer Early Stage Researcher
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1_______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
|
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss