From: Guy K. K. <g....@ma...> - 2008-12-11 02:03:11
|
On Thu, 11 Dec 2008 13:45:35 Ignacio Ruiz-de-Conejo wrote: > So, before jumping to lcms 2.0, I would like to make a serious call to get > an stable, fully capable, Python wrapper, based on lcms 1.7, and take > advantage of all the work Guy Kloss has done in this direction. Anybody > else? On that topic. I've done some slight code cleaning and have submitted an article to The Python Papers [1] for the upcoming issue. It seems like the article will be accepted, and published. The article is mainly on the "art" of C library wrapping and automatic code generation, with enhancements to support more advanced language features from Python. It uses however LCMS as a working example with several code samples. The way the wrapping is handled it should be fairly easy to adapt towards lcms 2.0 I would assume (without having tried it yet, due to time constraints). Scripts to automate the code generation and unit tests are available as well. I'd be more than happy to donate the code towards integration into the LCMS project. Guy [1] http://pythonpapers.org/ -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Room 2.63, Quad Block A Building Massey University, Auckland, Albany Private Bag 102 904, North Shore Mail Centre voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 eMail: G....@ma... http://iims.massey.ac.nz |