#Palette Operations Qry
2 messages in this thread
One way I like to use Animator is as a paint program that can manipulate many
images at the same time. Here's a palette operation I'd like to do. Can you
give me some help on how to do it? Or, add it to the wish list.
I start with a bunch of pictures with different palettes and different numbers
of colors used. I'm going to end up with with all the pictures using 16 colors
and with colors 12, 13, 14 fixed as cyan, red, and yellow (colors that also
occur in some of the pictures already).
Right now what I do is: 1) add cyan red and yellow to empty areas of the image
palettes, 2) Squeeze the palettes to 16 (with fit on), 3) sort the palettes by
luminance (it often puts the yellow in slot 14 where I want it anyhow), and 4)
(with fit on) paste in the colors I need in slots 12, 13, 14.
The result is that I get what I want, but I see that I could get "better"
palettes – because often there are two strong red or cyan or yellow colors that
might just as well be combined – giving another slot to, say, improve a
gradient in the image.
Manually I know I can use SEP to map the red (or whatever) together, but what
about an automated method – one that would make that slot available for another
color in the squeeze operation?
Darn, when you write it out like that an answer appears – add the strong color
like I do, and then do NEAR COLORS on each one to make it cluster with an
existing color in the image (with a low threshold) and with fit on, SQUEEZE
each cluster of near colors to 1. Do this in a macro because it will be
different for each image. Repeat. Then, SQUEEZE the whole thing. Then I
could use TRADE CLUSTER to move my strong colors around before I paste in the
"spot" colors. Well, that will get me closer, I'll try it.
Other ideas?
Chuck Jameson
Silver Tongue Software that will get me close. on the
Chuck,
You're talking to yourself.
Kidding aside, have you tried batch processing your pics with Image Alchemy to
give them a common palette?
Dick Brandt