From kde-kimageshop Mon Oct 11 02:58:20 1999 From: Cristian Tibirna Date: Mon, 11 Oct 1999 02:58:20 +0000 To: kde-kimageshop Subject: automatic color-processing of pixmaps X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=93961073625528 Hi Does something like the below dreamed thing exist somewhere already? Or at least a theoretical treatise of such thing? -------- Let's consider a pixmap using thorouguly a largely distributed and highly populated palette (for example a KDE icon using up completely the classical KDE-40-color-palette). Let's say now that I want to "tint" this image, so that it becomes evident its appartenance to a color theme. Do you know the "sepia" B/W photography technique? Something like this. I'd like to just apply an API like QImage *tintImage = new QTintedImage(QImage*, QPalette* tinting-palette); And be (almost) sure that the *tintImage would look clearly as pertaining to a collection of tinted images. ---------- Is this possible at all? Is this of any value? IMHO, this would be more than excellent to have for the KStyles work. This would even allow to automatically tint the whole icons set on loading, whitout having to keep on disk whole sets of modified icons for each desktop theme. Thanks Cristian Tibirna : ctibirna@total.net : www.total.net/~ctibirna PhD Student : ctibirna@gch.ulaval.ca : web.gch.ulaval.ca/~ctibirna KDE contact - Canada : tibirna@kde.org : www.kde.org