On 8/30/06, Sven Neumann <[EMAIL PROTECTED]> wrote:

On Tue, 2006-08-29 at 15:14 +0200, Henning Makholm wrote:

> Your idea of "real work" is obviously very different from mine.
> I do lots of real work on indexed images.

Perhaps you should write up a summary then that explains your workflow
on real world examples. At the moment we are talking about "indexed
images" and probably mean "how indexed images are currently treated in
GIMP". But what exactly is it that you need? Is it working with a
limited palette of colors? Is it the current behaviour of paint tools on
indexed images? Is it the alpha-thresholding that is done for no good
reason? I would really like to know what's important about indexed
images so that we can see if there are ways to preserve or even improve
that functionality.

Henning has already described what he does, and it seems clear to me that alpha-thresholding all paint application would work well for his purposes. I'm sure he'll say if that is not the case.

As for the good of alpha-thresholding, it prevents 'junk' colored pixels that often occur when quantizing quickly to a small palette (solid part of applied paint is colored okay, semitransparent part is colored strangely.. like a bright orange with a medium green) -- cloning a multicolored pattern onto such an image may give you an idea of what I'm talking about.
Junk colors are harmful both for mapping (as Henning described) and sprites (where the total amount of pixels is small enough that a single discolored pixel is a significant glitch, and makes it look even worse when palette-swapped)
Gimp-developer mailing list

Reply via email to