[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: nativeColor and endianness
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2003-10-22 21:34:31
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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 :-).

-- 
Boudewijn Rempt | http://www.valdyas.org/index2.html

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kimageshop mailing list
kimageshop@mail.kde.org
http://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic