Re: [indigo-dev] Ketcher SVG

54 views
Skip to first unread message

Mikhail Kozhevnikov

unread,
Nov 29, 2012, 4:43:03 AM11/29/12
to indig...@googlegroups.com, rober...@gmail.com
Dear Robert,

Thank you for your suggestions. Please note that we are using Raphael.js to manipulate the vector images. The topic of exporting Raphael's output to SVG is a popular one, but up until recently none of the methods we are aware of were sufficiently reliable (i.e. would work with any structure we produce and in any supported browser). Raphael.Export seems to do the trick and we may soon integrate it into Ketcher.
In the meantime server-side tools, such as Indigo toolkit, can be used to achieve this. Indigo also offers somewhat higher rendering quality.

As to the CSS styles for SVG, I'm not sure to which extent this is possible, given that Raphael resorts to using VML instead of SVG in older browsers.

Regards,
Mikhail

On Wed, Nov 28, 2012 at 10:34 PM, Rleif <rober...@gmail.com> wrote:
I could not find a means to save a structure as an SVG file. This would provide a very useful means to publish chemical structures. I would like to see the use of CSS maximized. If the representation of all items that are constant or even defaults were controlled by CSS, the readability of the SVG code would be significantly increased. It would also be a good choice for a standard means for creating chemical structure files, which could be included in other standards including those under development, such as www.cytometryML.org. It would also be a significant inducement for many of the users to pay something toward the maintenance of the product. SVG code can be included in HTML5 pages including E-Pubs.
Thank you.
Robert C. Leif, Ph.D.

--
 
 

Reply all
Reply to author
Forward
0 new messages