From kde-kimageshop Wed Oct 22 21:46:20 2003 From: Patrick Julien Date: Wed, 22 Oct 2003 21:46:20 +0000 To: kde-kimageshop Subject: Re: nativeColor and endianness X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=106685925812168 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? _______________________________________________ kimageshop mailing list kimageshop@mail.kde.org http://mail.kde.org/mailman/listinfo/kimageshop