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>
This script compliments my "Sample Gradient Along a Path" script and was originally developed to generate the gradients bundled here. This script simply scales the image to be 1 px high and samples across it, so it only works correctly with horizontal gratent images.
You can however create some interesting gradients with other images. For example, an image that is 1/2 black and 1/2 white diagonally will creat a gratent that blends linearly from black to white! read more »
Recent comments
5 min 58 sec ago
1 hour 34 min ago
6 hours 9 min ago
16 hours 24 min ago
17 hours 14 min ago
1 day 4 hours ago
2 days 20 hours ago
3 days 4 hours ago
3 days 7 hours ago
3 days 18 hours ago