Replaces all pixels in a pixmap with black and white depending on their lightness.
pmis a pixmap
xis a real number
binarize(pm, x) returns
bm with all pixels with lightness greater than
x replaced by white and all other pixels replaced by black. If omitted,
x defaults to