nativeColor and endianness

Patrick Julien freak at codepimps.org
Wed Oct 22 18:46:20 CEST 2003


On October 22, 2003 05:34 pm, Boudewijn Rempt wrote:
> On Saturday 18 October 2003 22:45, Patrick Julien wrote:
> > That is correct, however, pre-multiplied is important to avoid arithmetic
> > operations that will slow things down when converting or when working
> > with alpha channels.  Although not the case with cmyk, it's still
> > important to use pre-multiplied values since pre-multiplying helps
> > correctness, i.e. round off errors are eliminated.  Let's face it, if the
> > user is
> > continuously operating on his images, round off errors will add up to a
> > lot at the end of the day.
>
> Well, I wrote a KisColorSpaceCMYK today that caches the cmyk->rgb values --
> it doesn't work yet, or, at least, I suspect it doesn't because I cannot
> test it now. First I need to work along the path from the create image
> dialog to the actual call to KisColorSpaceCMYK::render. And I simply cannot
> imagine that I have gotten the loops & pointer arithmetic right in one go
> :-).

Nice, can I see?



More information about the kimageshop mailing list