From kde-kimageshop Sat Oct 22 19:52:39 2005 From: Michael Thaler Date: Sat, 22 Oct 2005 19:52:39 +0000 To: kde-kimageshop Subject: Re: How to achive colorspace independence Message-Id: <200510222152.40131.michael.thaler () physik ! tu-muenchen ! de> X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=113001073212838 On Friday 21 October 2005 21:58, Casper Boemann wrote: > 2) Scaling and other things where each resulting pixel is the weigthed > mixture of a number of pixels. The mixColors function in the cs does this > rather well. Out of curiosity I tried for what colorspaces the current scaling algorithm does work and I was very surprised that it actually worked for all colorspaces except the 32 bit floating one (I forgot the name and I just uninstalled krita). And even for this colorspace it kind of works. It only gets some pixels wrong (I think that is because the scaling algorithm actually checks some border cases and treats them in a special way and this fails for the 32 bit colorspace). Or maybe Layer->Convert layer just doesn't work and they are all RGB8. But I don't think so because the filter needs twice as long if you convert to RGB16. Maybe somebody has an idea why scaling works even for 16 bit floating point RGB color channels with the current algorithm? Greetings, Michael _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop