Hi,

Sorry, the Python binding are more for numerical computation than for full
images. 
COLORB holds just one pixel, filling it with more may corrupt memory.

I did the wrapper, so any suggestion is more than welcome.

Regards
Marti Maria
The littleCMS project
www.littlecms.com




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frédéric
Mantegazza
Sent: Wednesday, February 06, 2008 6:08 PM
To: lcms-user@lists.sourceforge.net
Subject: Re: [Lcms-user] Python binding documentation

On lundi 04 février 2008, [EMAIL PROTECTED] wrote:

> Take a look on the python/testbed folder, there are some samples on how
> to use it. Documentation is scarce since I don't support it directly.
> There are samples on cmsDoTransform in lab2adobe.py, sRGB2adobe.py and
> others.

Ok, I made some tests, but I think the wrapper does not work as expected. 
Included examples work fine, but when I try to convert an entire image, I 
get some strange things, like segmentation fault, malloc problems and 
other. And adding a print statement in the code change the behaviour!

Is it possible to use COLORB object to store more than one RGB pixel 
values? It seems to lead to errors...

BTW, who made the swig wrapper?

-- 
   Frédéric

   http://www.gbiloba.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to