Dear all, This morning I had the chance to look at this on a machine with cairo installed.
There were a couple of problems that were making this happen. Uwe caught the first already: the convertColor() function was returning the wrong values. The second problem was with using the cairoCanvas and a PIL Image (this is what rdkit.Draw.ShowMol() does): there the pixel order expected by the PIL Image and that being provided by the cairo canvas were different, so the red and blue channels were being swapped. I just checked a fix for both of these into svn. -greg ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

