ThresholdBlack, a little imagemagick.