On 8/29/06, Simon Budig <[EMAIL PROTECTED]> wrote:
Henning Makholm ([EMAIL PROTECTED]) wrote:
> Scripsit "Øyvind Kolås" <[EMAIL PROTECTED]>
> > I cannot use the smudge or blur|sharpen tool, gaussian blur doesn't
> > work neither does unsharp mask, layer masks seems to work but get
> > their alpha thresholded.
I wonder if a "quantize to palette" Gegl Op would solve these problems.
In most of the cases when people are asking for an indexed palette, the
palette is already determined somehow, either by importing from the
image or by editing for a specific hardware or certain texture
In that case you really could have a "quantize" op, that maps all colors
in the images to the appropriate colors in the palette. You'd have all
the power of semitransparent layers, all tools would work as "expected"
for a given definition of "expected" :), blurring would work etc.
I am pretty positive that these problems could be sorted out when we
know what people working with palette-based images want to have. I am
just guessing on the needs here...
Having an implied conversion to RGB on input of indexed drawables is
the way GEGL will currently deal with such images.
Adding an op that converts this to 8bit/16bit/32bit integer grayscale
with a predefined, or optimally computed R,G,B palette is the natural
progression. That op could be used before saving/as a step towards
This allows implementations of all other processing and compositing
operations to be ignorant of indexed drawables, but is not an indexed
workflow, it will not work when multiple of the
original colors mapped to the same RGB triplet, but has a different
«The future is already here. It's just not very evenly distributed»
-- William Gibson
Gimp-developer mailing list