[magick-users] BMPCOMMANDS

Fred Weinhaus fmw at alink.net
Wed Feb 6 10:24:36 PST 2008


Hello,

I am not sure what this has to do with BMP?

Are you using a color or grayscale image?

If color, then you would do the following:


convert input.jpg -colorspace Gray -threshold xx% -depth 1 output.jpg

where xx is some value between 0 and 100 that controls the amount of 
white and black to see in the image.




>Hi all
>
>
>
>CAN IMAGEMAGICK EVEN PERFORM THIS KIND OF CONVERT FUNCTION
>
>
>
>I am trying to convert a jpg image into 320x240 pixels 1 bit 
>indexed. Which means that each image pixel is represented by a 
>single bit (0 - white, 1 - black) i.e. each byte represents 8 image 
>pixels.
>
>
>
>Does anyone know the command line to complete this task.
>
>
>
>Thank you
>
>Robert


More information about the Magick-users mailing list