Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Function monochrome doesnt work since it making it picture look weird.I think proper function will be channel,but i dont know what i need to type exactly.For example in program gimp making black/white picture is called desaturate/lightning
I am not sure what you mean by "black and white"? Two colors only?
If you want grayscale from color, you can type:
convert <input> -colorspace Gray <output>
convert <input> -type Grayscale <output>
These will convert color to gray.
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)
- Posts: 13868
- Joined: 2007-07-02T17:14:51+00:00
- Location: Sunnyvale, California, USA
First command works fine,thank you.
Return to Users
Who is online
Users browsing this forum: auday, Bing [Bot], Google [Bot], Google Adsense [Bot] and 13 guests