Hi all,
I realize that I’ve gone awol from this topic for a few days but I can report
some progress today. Using Nina’s code as a template I’ve updated the example
project and I’m pleased to report that it works! It’s running against Cdk 1.0.3
e.g.
http://chemutils.florida.scripps.edu:8080/cdkexporter?structure=N1([CH](C(N[CH](C1=O)CCCC)=O)Cc1cc(c(cc1)O)O)C[CH]([CH](C(O)=O)Br)Br&highlight=C1=CC=CC=C1&export=format:jpeg,width:3000,height:2000
<http://chemutils.florida.scripps.edu:8080/cdkexporter?structure=N1(%5bCH%5d(C(N%5bCH%5d(C1=O)CCCC)=O)Cc1cc(c(cc1)O)O)C%5bCH%5d(%5bCH%5d(C(O)=O)Br)Br&highlight=C1=CC=CC=C1&export=format:jpeg,width:3000,height:2000>
Updated code is available here:
http://chemutils.florida.scripps.edu:8080/cdkexporter/cdkexporter.zip. Nina, I
credited you as an author.
Best,
~Mark.
From: Nina Jeliazkova [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2008 10:02 AM
To: Mark Southern
Cc: Egon Willighagen; Duan Lian; Rajarshi Guha
Subject: Re: [Cdk-user] Image export demo
Hello Mark,
The code is here
https://ambit.svn.sourceforge.net/svnroot/ambit/trunk/ambit1/
more specific
(taglib based)
https://ambit.svn.sourceforge.net/svnroot/ambit/trunk/ambit1/src/ambit/taglibs/AmbitImageTag.java
or (servlet based)
https://ambit.svn.sourceforge.net/svnroot/ambit/trunk/ambit1/src/ambit/servlets/AmbitImageServlet.java
However, this is based on a CDK before 1.0 release. There is a branch updated
to work with the current CDK, but it is not tested.
Does the image generation works offline (e.g. unit test) ?
Regards,
Nina
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user