nativeColor and endianness

Boudewijn Rempt boud at valdyas.org
Thu Oct 23 00:34:31 CEST 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: signature
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20031022/bc366465/attachment.bin


More information about the kimageshop mailing list