From kde-kimageshop Wed Oct 22 21:34:31 2003 From: Boudewijn Rempt Date: Wed, 22 Oct 2003 21:34:31 +0000 To: kde-kimageshop Subject: Re: nativeColor and endianness X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=106685867511605 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1222335262==" --===============1222335262== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_qfvl/6xOehiEMnJ"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_qfvl/6xOehiEMnJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline 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 l= ot > at the end of the day. Well, I wrote a KisColorSpaceCMYK today that caches the cmyk->rgb values --= it=20 doesn't work yet, or, at least, I suspect it doesn't because I cannot test = it=20 now. First I need to work along the path from the create image dialog to th= e=20 actual call to KisColorSpaceCMYK::render. And I simply cannot imagine that = I=20 have gotten the loops & pointer arithmetic right in one go :-). =2D-=20 Boudewijn Rempt | http://www.valdyas.org/index2.html --Boundary-02=_qfvl/6xOehiEMnJ Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQA/lvfqdaCcgCmN5d8RAubKAJkBDcUO4Q3zUIw6IGjuQqrkBQo4ywCfQ9+u 3fKQCyjj3RgcSHm+zzLxKRg= =wP0/ -----END PGP SIGNATURE----- --Boundary-02=_qfvl/6xOehiEMnJ-- --===============1222335262== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@mail.kde.org http://mail.kde.org/mailman/listinfo/kimageshop --===============1222335262==--