Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I convert a jpeg photo to black and white (not grayscale) image like output of a FAX scanner, by imagemagick?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

According to this forum post:

However, if you want two colors only (black and white), then you need to threshold, for example, to select the color where above will be white and below will be black

convert <input> -threshold xx% <output>

where xx is in range 0-100 (for percent)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.