On mercredi 15 octobre 2008, Guy K. Kloss wrote: > Here's a simple example using my object oriented Python API for LCMS > with the ctypes library bindings. It uses numpy arrays as the native > input/output data type of the buffers for conversion. The conversion > uses a profile in the file system for input, and a built in profile for > output. Here I'm converting 8 bit RGB to floating point Lab. > > So far I have added the basics for profile and transformation handling, > and I've tried to automate as many things as possible to make it as easy > to use, but with the option pass certain features in as optional > parameters if needed. Transformations work e. g. with and without given > output buffer. This way in-place transformations, or transformations > into existing buffers (or images) are possible, as well as in the > example the creation of a new suitable matrix to store the values. > > Any comments?
Sounds good :o) Can you show an example for a in-place transform? -- Frédéric http://www.gbiloba.org ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user