On mercredi 15 octobre 2008, Guy K. Kloss wrote:

> > Can you show an example for a in-place transform?
>
> Yes, of course. I have just renamed the OO module to "littlecms" as I
> figured there may be some possible clashes on Wintendo using just case
> as a difference for files. This way it may better co-exist with the
> "classic" LCMS SWIG bindings, too.
>
> Note that naming of the parameter (destinationBuffer) in the
> doTransform() call can also be omitted, as destination buffer is the
> second call parameter. I just slipped it in for the example as it makes
> it clearer what happens. The code sample below converts 8 bit device RGB
> to 8 bit sRGB:

Ok, I see. Is there any gain (speed ?) to do in-place transform, instead of 
doing :

rgbColours = myTransform.doTransform(rgbColours)

-- 
    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

Reply via email to