I have a grayscale image in Gimp. I need to blacken all the least bright parts and only keep those that are above certain brightness threshold. For example, initially all grayscale pixels lie within 0-255 range of brightness. Those that are, say, below 128 need to become black and those that are above 128 need to stay intact.
How can I do it in Gimp?