ImageMagick是一个强大的开源图形处理软件,国内应该很少人用,至今仍在更新,放出全版本下载链接

http://ftp.icm.edu.pl/packages/ImageMagick/binaries/

官网在这里:

http://www.imagemagick.org/script/index.php

支持unix、ios、windows

这里主要说说windows下的

他强大而全面的功能在主页有所介绍

file:///D:/ImageMagick-7.0.1-Q16/index.html

但是强大的不只是功能,它可以通过dos指令来对图片进行处理及批处理,查了一下还可以在代码中引用命令,非常强大

更震惊的是它批处理的速度和稳定性要比PS强得多,能比PS处理多得多的文件,很有速度和效率

后期的HDRI版本还支持high dynamic-range imaging高动态范围图像

主要有以下命令

animate

animate an image sequence on any X server.

compare

mathematically and visually annotate the difference between an image and its reconstruction.

composite

overlap one image over another.

conjure

interpret and execute scripts written in the Magick Scripting Language (MSL).

convert

convert
between image formats as well as resize an image, blur, crop,
despeckle, dither, draw on, flip, join, re-sample, and much more.

display

display an image or image sequence on any X server.

identify

describe the format and characteristics of one or more image files.

import

save
any visible window on an X server and outputs it as an image file. You
can capture a single window, the entire screen, or any rectangular
portion of the screen.

magick

convert
between image formats as well as resize an image, blur, crop,
despeckle, dither, draw on, flip, join, re-sample, and much more.

magick-script

use
this scripting language convert between image formats as well as resize
an image, blur, crop, despeckle, dither, draw on, flip, join,
re-sample, and much more.

mogrify

resize
an image, blur, crop, despeckle, dither, draw on, flip, join,
re-sample, and much more. Mogrify overwrites the original image file,
whereas,convertwrites to a different image file.

montage

create
a composite image by combining several separate images. The images are
tiled on the composite image optionally adorned with a border, frame,
image name, and more.

stream

a
lightweight tool to stream one or more pixel components of the image or
portion of the image to your choice of storage formats. It writes the
pixel components as they are read from the input image a row at a time
making stream desirable when working with large images or when you require raw pixel components.

下完安装之后,测试一下是否装上,打开命令提示符,输入mogrify 或者convert(上面的命令就行)如果滚下来很多英文就说明装上了,报错就换个版本吧,我这的64位win7用不了7以上的。

用它做了个简单的批处理裁切

步骤如下

打开命令提示符cd到你想处理图片的那个文件夹

然后输入mogrify -trim *.png(你的格式)

这里想处理dds文件,但是dds事多,又压缩格式又什么的,这时候就查一下它的参数

mogrify -define dds:compression=none -define dds:cluster-fit=true -trim *.dds

试了一下,这么设置貌似是降质最小的,肉眼看不出区别,但是文件大小要比ps裁切要小,不知道是PS冗余还是IM降质

注意IM对DDS的支持在6.8.9版本之后

这里有color space和对各个图片格式的支持与存储参数

http://www.imagemagick.org/script/formats.php

Window参考:

http://www.imagemagick.org/Usage/windows/

一些命令介绍

http://www.imagemagick.org/script/command-line-options.php#define

别的人的总结

http://www.charry.org/docs/linux/ImageMagick/ImageMagick.html

http://blog.sina.com.cn/s/blog_536c64470101dsm1.html

http://blog.csdn.net/calm_thinker/article/details/50647433

一些范例

http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428

http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine

http://www.imagemagick.org/Usage/

--wolf96 2016/8/19

最新文章

  1. django一些操作命令
  2. Hyper-V 2012 R2 故障转移群集
  3. LVS--NAT模型配置
  4. HTTP协议中PUT/GET/POST/HEAD等介绍
  5. js中的继承1--类继承
  6. JQuery 获取json数据$.getJSON方法的实例代码
  7. javascript 中的new操作符的理解
  8. 【HDOJ】1619 Unidirectional TSP
  9. hdu 5040 BFS 多维化处理图
  10. Linux Tomcat安装,Linux配置Tomcat,Linux Tomcat修改内存,Linux tomcat修改端口
  11. Django之Cookie
  12. HPU--1091 N!的位数
  13. [POJ]1279: Art Gallery
  14. 第三期分享:一款很好用的api文档生成器
  15. spark-RDD源码分析
  16. IO多路复用之select,poll,epoll个人理解
  17. js中日期格式与时间戳格式互换
  18. 修改mysql默认端口
  19. Selenium 常用定位对象元素的方法
  20. 云计算--hbase shell

热门文章

  1. php判断手机浏览还是web浏览,并执行相应的动作
  2. PHP学习心得(一)——简介
  3. PHP之图形处理
  4. 2011年-CUshell编程大赛
  5. CoreGraphics之CGContext绘图
  6. boost 编译
  7. 1003: [ZJOI2006]物流运输trans
  8. C++引用的实质
  9. 使用flask的时候遇到的问题及其解答
  10. 1088-Gnome Sequencing