扫描仪扫描文件处理-imagemagick常用参数

-resize 宽x高(缩放,不变形)
-extent 宽x高(放大,不变形)之前设置:-gravity center(重心居中)
-brightness-contrast 亮度x对比度(设置亮度对比度)
-monochrome(处理成Bitmap colors:2的黑白图片,png格式压缩效果好)
-threshold 80%(处理图像为黑白,但是丢失太多信息图片糊成一片慎用)
-colorspace Gray(设置为灰度或者RGB色域)
-colors 2(设置颜色个数,如-monochrome处理的时候就是2个色彩:黑色、白色)
-transparent white(去除png白色背景变成透明)
-fuzz XX% -transparent white(-fuzz设置去除颜色的强度)
-depth 8(设置色彩深度,层次感)
 
 
“identify -verbose 0001.png”查看图片色彩等详细信息 
posted @ 2017-07-21 19:01  whycnblogs  阅读(1467)  评论(0编辑  收藏  举报