You are here

Sample Average Colour

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
sample_avg_colour.scm3.96 KB

This simple plugin was created in response to a request here.

It simply samples the entire image colour, and allows you to either:
- Display the RGB or grey values
- Set the foregound colour
- Set the background colour
- Add it to the current palette (if editable)

There is a toggle to sample just the layer, or the merged image.

It registers in the Colour menu as "Sample Average Colour..." and should work for RGB, indexed, or greyscale images.

UPDATE: Version 1.3 of the script fixes a bug that was introduced by a gimp bug fix in version 2.6.9.

-Rob A>

Code License: 
GIMP Version: 
Scripting Engine: 

Comments

Maybe you can help. Link below. Similar to Average color, but for individual selection islands on the same layer. Not sure how easy this will be to do though. :)

http://registry.gimp.org/node/24376

edit: Saul Goode created a cool Script-fu for me; can't seem to link it now since I get a Spam filter pop up for some reason, but the Registry link that I provided earlier will link to the GIMPTalk thread. :)

I made a short writeup with an overview of what the script does: http://planetfs.blogspot.com/2009/06/i-was-interested-to-see-sample-aver... Thanks for writing it! Marc http://planetfs.blogspot.com
Subscribe to Comments for "Sample Average Colour"