Thanks for the hard work on upgrading and integrating this Fredrik - I've been following your changes and it seems like quite a significant amount of work on your end to clean it up and streamline things. I'm looking forward to playing with the in-memory profile reading, along with the embedded profile reading that other SIG members have been working on. Having CMS in PIL will be yet another formidable tool for PIL and adoption in high-end applications.

In any case, I'm proud to contribute pyCMS - although it's really just a wrapper around Marti Maria's harder work on the LittleCMS library itself.

Kevin.


On 09 Mar 2009, at 13:23, Fredrik Lundh wrote:

Kevin Cazabon has graciously donated his PyCMS library to PIL, and it
landed in the "raclette" tree yesterday.  The library will
automatically be built if you have LittleCMS on the machine
(www.littlecms.com).  The Python binding is now in PIL.ImageCms.

I'm still working on a tighter integration, but the module provides
the procedural PyCMS API (with a few enhancements; you can e.g. read
profiles from memory by passing in file objects instead of filenames).
In other words, code written for pyCMS "should" still work if you
just change "import pyCMS" to

   import PIL.ImageCms as pyCMS

The internals are reworked, though, so code that rely on
implementation details, the exact phrasing of error messages (the PIL
version is less informative), or access to the pyCMSdll layer won't
work.

If you want to help out testing the integration, you can pull the
current snapshot from

   http://bitbucket.org/effbot/pil-2009-raclette/overview/

(either as a zip/tarball via the download link, or using "hg clone").

Cheers /F
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to