[Gimp-user] Color change a whole range based on a break point

saulgoode at flashingtwelve.brickfilms.com saulgoode at flashingtwelve.brickfilms.com
Tue Jun 23 16:23:36 PDT 2009


Quoting norseman <norseman at hughes.net>:

> Wanted:
>          In Gimp, to add (SUM) the RGB values for a pixel and then
> change all pixels who's RGB SUM is greater than a user stated value to
> WHITE.
> Second side of that is to change all RGB SUMs less than value given to
> Black. BUT not doing both at same time, thus allowing user to "step" in
> and see what got lost.

* Duplicate the layer.
* Desaturate the duplicate using the "Average" method.
* Add layermask to the duplicate using the
   "Initialize to: Grayscale Copy of Layer" option.
* Bucket fill the duplicate layer with white.
* Run "Colors->Threshold" on the layermask, setting
   the value appropriately.
* Bucket fill your original layer with black.





More information about the Gimp-user mailing list