2011-10-10 3 views

답변

118

설치 imagemagick있는 경우.

10

imagemagick (convert)의 경우 -monochrome 또는 -colorspace gray 중 하나를 사용하십시오. mogrify -colorspace Gray file :

convert source.jpg -colorspace Gray destination.jpg (true grayscale only) 
convert source.jpg -monochrome destination.jpg (true black and white) 
convert source.jpg -separate destination.jpg (separate into gray channels) 

원본 파일을 잃고 걱정하지 않는 경우

관련 문제