Re: [Lcms-user] Question about Python bindings for lcms2
An ICC-based CMM for color management
                
                Brought to you by:
                
                    mm2
                    
                
            
            
        
        
        
    | 
      
      
      From: John J. <joh...@gl...> - 2016-05-22 22:00:10
      
     | 
| On 28/09/2015 21:33, Kunda wrote: What is the status of Python bindings for lcms2? Is anyone working on this? Hi, this is rather late, but if you haven't anything else you could try the SWIG bindings at https://pypi.python.org/pypi/littlecms/0.1b1. The documentation is lacking but it's mostly just like using the C API. The biggest tricky bit is understanding the use of the array objects that are necessary for passing as params to many C functions. The tests do cover quite a lot ground so I hope you won't find much trouble using it. There is a source distribution which has been tested on Windows and Linux. On Windows you'll need either Visual Studio 2015, 2010, or 2008 depending on your Python version. The bindings will build and install automatically if you use pip to install it. There is also a pre-built wheel for Python 3.5 on Win64 which will install automatically with pip. I've only tested with Python 3 because that's what I use. I believe it will be only a smallish effort to make it work on Python 2. John [Global Graphics at drupa 2016 - visit us at Hall 7 Stand B21/C20]<http://www.globalgraphics.com/company/events/drupa> |