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>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to