From: Sven Neumann <[EMAIL PROTECTED]>
Date: Sun, 27 Feb 2005 17:29:52 +0100
Robert L Krawitz <[EMAIL PROTECTED]> writes:
> We use the same matrix for all color channels, but offset the starting
> address for each channel to decorrelate the channels.
> Let me know if you're interested.
Yes, we are interested. I'd really like to get rid of the random
number generator in the gradient blend code. It is simply way too
slow and gradient blends are a rather frequent operation.
OK. The code Daniel posted shouldn't be too hard to convert. The
only thing it needs is to have the absolute row and column, to index
into the matrix.
Please have a look at the current code in CVS (will take a day for
anoncvs to catch up). It is a lot more readable and should allow
for easy replacement of the RNG by a dither matrix.
Will I be able to compile it against a current (stable) GIMP
Robert Krawitz <[EMAIL PROTECTED]>
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail [EMAIL PROTECTED]
Project lead for Gimp Print -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
Gimp-developer mailing list