Re: [Rdkit-discuss] highlightColor in Draw.MolsToGridImage()
Open-Source Cheminformatics and Machine Learning
                
                Brought to you by:
                
                    glandrum
                    
                
            
            
        
        
        
    | 
      
      
      From: DmitriR <xz...@gm...> - 2016-07-17 18:42:34
      
     | 
| > Also a couple of related questions (that might have an analogous answer): > > (1) is there a way to change the resolution of the PNG images produced by Draw.MolToImage(mol)? > The resulting images look low-res and pretty jagged on my screen. > I can change the size, but I couldn't find anything in the API for the resolution. > > The jagged images are typically because you don't have either aggdraw or cairo installed. When this is the case, the RDKit uses a lowest-common-denominator approach to drawing that is better than nothing, but still looks pretty crappy. Yes, this must be it. I am just using the conda rdkit install OSX with python 3.5: rdkit 2016.03.1 np110py35_0 Thanks. Dmitri |