[Gimp-user] Can Gimp calculate area of a color?
Chris Mohler
cr33dog at gmail.com
Fri Mar 27 18:24:36 PDT 2009
On Wed, Mar 25, 2009 at 3:53 PM, Steven Howe <howe.steven at gmail.com> wrote:
> Howdy,
> I'm making a mosaic. I've used gimp to
> strip out extraneous background artifacts
> posterize the picture down to a sixteen colors.
> separated the colors onto different layers.
>
> Now I'd like to know either by area (cm, or inch) or percentage of the
> picture each of the colors (so I can figure out how much tile I'll need).
>
> I don't see an obvious function such a calculation tool for this. Is
> there one and if so, can someone point me to it?
Hi Steven,
I was messing around with python yesterday and wrote a small plug-in
that you might find useful:
http://registry.gimp.org/node/15080
I've only tested it on flattened images and a handful of colors, but
it seems to be fairly accurate when it picks up the color (I'm still
researching why sometimes the colors don't match).
Let me know how it works out...
Chris
More information about the Gimp-user
mailing list