From kde-kimageshop Fri Oct 24 00:01:17 2003 From: Patrick Julien Date: Fri, 24 Oct 2003 00:01:17 +0000 To: kde-kimageshop Subject: Re: nativeColor and endianness X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=106695420508461 Having the header file would be useful too :). However, I remind you that the color strategies we're deemed to be flyweights, you should initialized the entire array instead of building it progressively. You see, you might even optimize this by saving the color array after the first run of the application. In other words, the first time you need a translated color, simply initialize all the colors. Yes, CMYKA is perfectly possible. I don't have the definition of a Color lut either. Anyway, I will wait for more code since I don't actually have the code to read :) On October 22, 2003 05:51 pm, Boudewijn Rempt wrote: > On Wednesday 22 October 2003 23:46, Patrick Julien wrote: > > Nice, can I see? > > Well, yes... But a) It's untested -- really untested, and b) I'm not sure > whether I was barking up the right tree, and c) I probably made very silly > mistakes. But here it is... _______________________________________________ kimageshop mailing list kimageshop@mail.kde.org http://mail.kde.org/mailman/listinfo/kimageshop