ImageMagick使用说明2
imagemagick 转pdf

imagemagick 转pdf
要使用ImageMagick将图片转换为PDF,可以按照以下步骤进行操作:
确保已经安装了ImageMagick。
如果尚未安装,可以通过在终端中输入相应的安装命令来安装它。
例如,在Ubuntu上,可以使用sudo apt-get install imagemagick命令进行安装。
将需要转换的图片放入同一个文件夹中。
打开终端,进入该文件夹。
可以使用cd命令来切换目录。
输入以下命令将图片转换为PDF:
bash
convert *.jpg output.pdf
上述命令中的*.jpg表示将所有jpg格式的图片转换,output.pdf为输出的PDF文件名。
如果需要转换其他格式的图片,只需将*.jpg替换为相应的文件扩展名即可,例如*.png表示转换所有png格式的图片。
注意保持图片的顺序和命名规则,以确保转换后的PDF文件的页面顺序正确。
ImageMagick支持多种图片格式的转换,并且转换速度快,可以一次性处理大量图片。
转换后的PDF文件大小较小,方便存
储和传输。
以上是使用ImageMagick将图片转换为PDF的基本步骤。
如有需要,还可以进一步探索ImageMagick的其他功能和选项,以满足更高级的需求。
用ImageMgick命令行处理图片

用ImageMgick命令行处理图片————————————————————————————————作者:————————————————————————————————日期:用ImageMagick命令行处理图片ImageMagick是强大的图像处理工具,他的强大之处在于Linux与生俱来的命令行特性,基于命令行的一系列工具可以让你完成、处理常见的图像操作,诸如生成缩略图,缩放,查看信息,加注标题,水印等等,功能上绝不亚于很多自诩出色GUI工具,学习使用ImageMagick是有益的,至少可以体会CLI的强大和简洁的行事风格。
这里列举一些使用ImageMagick的例子来说明如何在命令行界面下处理图像。
确信你的Linux装有ImageMagick的最快方法是rpm -qi ImageMagick(如果你的系统不是基于RPM的,请执行display或animate命令,确保你是在X Windows环境下)生成缩略图和缩放!ImageMagick的convert命令简直是万能的!生成缩略图,convert -sample 100x20 input.jpg output.jpg上述命令生成一个100x20的缩略图更好的方法是用等比例缩放,像这样,统一生成1/4的缩略图,convert -sample 25%x25% input.jpg output.jpg如果写成脚本,就是像这个样子,for img in `ls *.jpg`doconvert -sample 25%x25% ${img} thm${img}done这样可以对一个目录下的JPG文件一起生成缩略图了!convert还可以直接用来生成图片,这个在一些特殊的时候有用,例如,可以用下面的命令生成法国国旗图案,convert -size 20x40 xc:red xc:white xc:blue +append flag.png转化图像格式就更加方便,convert input.png output.jpg这就是Linux,简单直接!!还有旋转,convert -rotate 90 input.jpg output.jpg还有加注图片,convert -font fonts/font.ttf -stroke color -fill color -pointsize size-draw 'text 10,10 "String"' input.jpg output.jpg-font 指定字体,因为这样我加注文字,-stroke 描边用的颜色,-fill 填充用的颜色,这里用none就可以画出空心字了,-pointsize 加注字体大小,像素数,-draw 是用来画,这里是文字,下面的位置10,10 是以图片左上角为原点坐标的。
Java图片处理解决方案:ImageMagick快速入门

Java图片处理解决方案:ImageMagick快速入门目录•一.ImageMagick介绍•二.ImageMagick快速入门o安装ImageMagicko配置环境变量o使用ImageMagick实现旋转•三.在Java中使用ImageMagicko引入依赖o调用IM4Java实现旋转•四.参考资料•五.关键词一.ImageMagick介绍ImageMagick是一个免费的创建、编辑、合成图片的软件,可以实现图片切割、颜色替换、图片缩略图、图片水印等各种效果。
ImageMagick是免费开源软件,支持大多数操作系统,包括Linux、Windows操作系统。
ImageMagick的大多数功能的使用都来源于命令行工具。
二.ImageMagick快速入门安装ImageMagick到官网下载相应的安装包。
在安装过程中记得勾选Install legacy utilities(e.g. convert)选项。
配置环境变量将ImageMagick安装目录设置到PATH系统变量中打开命令行运行magick -help测试是否配置成功使用ImageMagick实现旋转ImageMagick图片处理命令的格式如下:imagick deal_type origin_pic_path deal_param dest_pic_path •deal_type:图片处理类型。
ImageMagick提供了几十种图片处理类型,包括:decorate(边框)、convert(转换)、montage (拼接)、animation(动画)等,你可以在Features and Capabilities查看更多图片处理类型。
•origin_pic_path:源图片路径。
•deal_param:处理参数。
不同的图片处理类型有不同的处理参数。
•dest_pic_path:目标图片路径。
运行下面的命令将图片顺时针旋转90度:magick doraemon.jpg -rotate 90 doraemon_rotate.jpg三.在Java中使用ImageMagick开始前请先确认JDK、Maven正确安装:引入依赖IM4Java是ImageMagick的Java API包,它将Java代码转化成对ImageMagick的命令行调用。
Linux的_ImageMagic图片转换

Linux的ImageMagic图片转换ImageMagick是一套稳定的工具集和开发包,可以用来读、写和处理超过89种基本格式的图片文件,包括流行的TIFF, JPEG, GIF, PNG, PDF以及PhotoCD等格式。
利用ImageMagick,你可以根据web应用程序的需要动态生成图片, 还可以对一个图片或图片序列进行改变大小、旋转、锐化、减色或增加特效,并将操作的结果以相同格式或其它格式保存。
对图片的操作,可以通过命令行进行,也可以用C/C++、Perl、Java、PHP、Python或Ruby编程来完成。
同时ImageMagick 提供了一个高质量的2D工具包,部分地支持SVG。
现在,ImageMagic的主要精力集中在性能、减少bug以及提供稳定的API和ABI上。
ImageMagick功能强大,却免费的。
ImageMagick的功能examples.jpg包括:1. 将图片从一个格式转换到另一个格式2. 改变尺寸、旋转、锐化(sharpen)、减色、图片特效3. 缩略图片的合成图( a montage of image thumbnails)4. 适于web的背景透明的图片5. 将一组图片做成gif动画6. 将几张图片做成一张组合图片7. 在一个图片上写字或画图形8. 给图片加边框或框架9. 取得一些图片的特性信息下载安装ImageMagick在很多服务器上都可以下到,甚至很多个人站点也提供了下载。
建议到ImageMagick的官方主页上下载最新版本的源码包,我下的是ImageMagick-5.5.6.tar.gz,在linux下的安装过程如下:tar zxvf ImageMagick-5.5.6.tar.gzcd ImageMagick-5.5.6./configuremake allsumake install命令行工具说明注意不要忘记,将ImageMagick安装后的函数库所在目录加入到/etc/profile 文件中的LD_LIBRARY_PATH环境变量中,以及/etc/ld.so.conf中同时运行ldconfig,否则一些对ImageMagic的应用可能会出问题。
ImageMagick命令使用文档

ImageMagick命令使用文档1.convert命令识别这些选项。
Click on an option to get more details about how that option works.点击一个选项,该选项获取有关如何运作的更多细节。
Option选项Description描述Option-adaptive-blur geometry 自适应,模糊几何adaptively blur pixels; decrease effect near edges自适应模糊像素;靠近边缘下跌的因素-adaptive-blur geometry-adaptive-resize geometry 自适应,几何调整adaptively resize image with data dependent triangulation.自适应地调整数据依赖三角网的形象。
-adaptive-resize geometry-adaptive-sharpen geometry 自适应,提升几何adaptively sharpen pixels; increase effect near edges自适应提升像素;增加近边缘效应-adaptive-sharpen geometry-adjoin -毗连join images into a single multi-image file加入到一个单一的多图像的图像文件-adjoin-affine matrix 仿射矩阵affine transform matrix仿射变换矩阵-affine matrix-alpha -αon, activate, off, deactivate, set, opaque, copy", transparent, extract, backgroun d, or shape the alpha channel上,启动,关闭,停用,设置,不透明,复制“,透明,提取,背景,或形状的Alpha 通道-alpha-annotate geometry text - 几何文字注释annotate the image with text图片与文字注解-annotate geometry text-antialias -反锯齿remove pixel-aliasing删除像素走样-antialias-append 后缀append an image sequence附加一个图像序列-append-authenticate value 进行身份验证的价值decipher image with this password这个密码破译图片-authenticate value-auto-gamma 全自动-γautomagically adjust gamma level of image自动将影像调整伽玛水平-auto-gamma-auto-level 全自动级automagically adjust color levels of image自动的调整图像色彩层次-auto-level-auto-orient 包括汽车,东方automagically orient image自动的东方形象-auto-orient-background color ,背景颜色background color背景颜色-background color-bench iterations 工作台迭代measure performance测量性能-bench iterations-bias value 偏置价值add bias when convolving an image加偏压时的图像卷积-bias value-black-threshold value 黑,阈值force all pixels below the threshold into black力低于阈值的所有像素为黑色 -black-threshold value-blue-primary point 蓝小学点chromaticity blue primary point蓝色的主色点-blue-primary point-blue-shift factor 蓝移因子simulate a scene at nighttime in the moonlight模拟夜间在月光下一个场景 -blue-shift factor-blur geometry ,模糊几何reduce image noise and reduce detail levels降低图像噪声,减少细节层次-blur geometry-border geometry 边界几何surround image with a border of color环绕图片的颜色边框-border geometry-bordercolor color - bordercolor 颜色border color边框颜色-bordercolor color-brightness-contrast geometry 亮度,对比度几何improve brightness / contrast of the image提高亮度/对比度的图像-brightness-contrast geometry-caption string 字幕字符串assign a caption to an image指定标题图像-caption string-cdl filename - CDL的文件名color correct with a color decision list正确的颜色与颜色决定列表-cdl filename-channel type 通道型apply option to select image channels适用选项来选择图片频道-channel type-charcoal radius 炭半径simulate a charcoal drawing模拟素描-charcoal radius-chop geometry 劈几何remove pixels from the image interior从图像中删除内部像素-chop geometry-clamp 钳restrict colors from 0 to the quantum depth限制从0到量子色深度-clamp-clip 夹clip along the first path from the 8BIM profile夹沿着从8BIM 配置第一个路径 -clip-clip-mask filename 剪辑掩模文件名associate clip mask with the image影像剪辑与副面具-clip-mask filename-clip-path id 剪辑路径编号clip along a named path from the 8BIM profile剪辑沿着从8BIM配置命名的道路-clip-path id-clone index ,克隆指数clone an image克隆一个图像-clone index-clut ,查找表apply a color lookup table to the image申请一个颜色查找表中的形象-clut-contrast-stretch geometry 对比度拉伸几何improve the contrast in an image by `stretching' the range of intensity value改善图像对比度的`延伸'的强度值范围-contrast-stretch geometry-coalesce -凝聚merge a sequence of images合并的图像序列-coalesce-colorize value -上色价值colorize the image with the fill color与上色填充颜色的图像-colorize value-color-matrix matrix 彩色矩阵矩阵apply color correction to the image.应用颜色校正的图像。
用ImageMgick命令行处理图片

用ImageMgick命令行处理图片————————————————————————————————作者:————————————————————————————————日期:用ImageMagick命令行处理图片ImageMagick是强大的图像处理工具,他的强大之处在于Linux与生俱来的命令行特性,基于命令行的一系列工具可以让你完成、处理常见的图像操作,诸如生成缩略图,缩放,查看信息,加注标题,水印等等,功能上绝不亚于很多自诩出色GUI工具,学习使用ImageMagick是有益的,至少可以体会CLI的强大和简洁的行事风格。
这里列举一些使用ImageMagick的例子来说明如何在命令行界面下处理图像。
确信你的Linux装有ImageMagick的最快方法是rpm -qi ImageMagick(如果你的系统不是基于RPM的,请执行display或animate命令,确保你是在X Windows环境下)生成缩略图和缩放!ImageMagick的convert命令简直是万能的!生成缩略图,convert -sample 100x20 input.jpg output.jpg上述命令生成一个100x20的缩略图更好的方法是用等比例缩放,像这样,统一生成1/4的缩略图,convert -sample 25%x25% input.jpg output.jpg如果写成脚本,就是像这个样子,for img in `ls *.jpg`doconvert -sample 25%x25% ${img} thm${img}done这样可以对一个目录下的JPG文件一起生成缩略图了!convert还可以直接用来生成图片,这个在一些特殊的时候有用,例如,可以用下面的命令生成法国国旗图案,convert -size 20x40 xc:red xc:white xc:blue +append flag.png转化图像格式就更加方便,convert input.png output.jpg这就是Linux,简单直接!!还有旋转,convert -rotate 90 input.jpg output.jpg还有加注图片,convert -font fonts/font.ttf -stroke color -fill color -pointsize size-draw 'text 10,10 "String"' input.jpg output.jpg-font 指定字体,因为这样我加注文字,-stroke 描边用的颜色,-fill 填充用的颜色,这里用none就可以画出空心字了,-pointsize 加注字体大小,像素数,-draw 是用来画,这里是文字,下面的位置10,10 是以图片左上角为原点坐标的。
ImageMagick使用指南说明书

Table of ContentsAbout1 Chapter 1: Getting started with imagemagick2 Remarks2 Versions2 Examples2 Installation or Setup2 Convert an image between file formats3 Create an animated gif3 Compare the difference between an image3 Credits6AboutYou can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: imagemagickIt is an unofficial and free imagemagick ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official imagemagick.The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to ********************Chapter 1: Getting started with imagemagick RemarksImageMagick is an open-source suite of tools for processing almost any raster (and some vector) image formats using either a command line interface or language bindings in an assortment of languages. Over 200 image formats are supported using any of over 20 languages. ImageMagick runs on Linux, Windows, Mac OS, iOS, Android and others.The current version is 7.x and has been out since 2011. This release series includes many new features and is a major overhaul of ImageMagick. While much of the functionality works as before, some bits are not are not completely backwards compliant with the 6.x series. As a result many distributions still default to the much older 6.x series of releases so that scrips don't break. If just getting started, using 7.x is higly recomended. Most existing tutorials and scripts will work, but a number of things will work more intuitivly, faster, and generally better.VersionsExamplesInstallation or SetupYou can install ImageMagick from source or Binary.In case of Windows BinaryDownload executable binary file. And simply click on the appropriate version and it will launch itself and follow the wizard. You can type the following command to find out whether ImageMagick is successfully installed or not:identify -versionDownload a ready-to-run ImageMagick and installation guideDownload source file and installation guideConvert an image between file formatsUsing the magick command (or `convert for IM 6.x users) you con convert any image format to any other. with no other arguments, as little processing as possible will be done to move from one format to the other. Simply specify your input and output files. To convert a JPEG to a PNG:$ magick image.jpg image.pngOr a TIFF to a GIF:$ magick image2.tif image.gifCreate an animated gifStarting from a sequence of static images (for example called frame01.jpg, frame02.jpg and so on) an animated gif can be created using the following command:magick -delay 10 -loop 0 frame*.jpg animation.gif•-delay 10 sets the interval between the frames to 0.1 seconds•-loop 0 creates an infinite looping animationCompare the difference between an imageImageMagick includes a number of command-line utilities for manipulating images. Here we will use compare command-line tool.compare tool is very useful. Suppose you want to test (e.g. layout, color, icons etc.) thedifference between your expected design UI HTML file with actual result of JSP file,you just need to use compare command. You do not need to compare with your owneyes.1.jpghttps:///imagemagick/topic/9251/getting-started-with-imagemagickCredits。
小试ImageMagik

小试ImageMagik=====================================================ImageMagick的使用和开发的文章:小试ImageMagik——使用篇小试ImageMagik——开发篇=====================================================前两天帮同学调了一个小程序,是有关ImageMagik的。
ImageMagik之前早有耳闻,据说处理图片的功能很强大,几乎都能把PhotoShop给替代了,但是一直没有机会尝试。
于是顺便尝试了一下,记录一下它的使用方法和开发方法。
首先记录一下它的简介,是从百度百科上看到的:ImageMagick是一套功能强大、稳定而且开源的工具集和开发包,可以用来读、写和处理超过89种基本格式的图片文件,包括流行的TIFF、JPEG、GIF、PNG等格式。
利用ImageMagick,你可以根据web应用程序的需要动态生成图片, 还可以对一个(或一组)图片进行改变大小、旋转、锐化、减色或增加特效等操作,并将操作的结果以相同格式或其它格式保存,对图片的操作,即可以通过命令行进行,也可以用C/C++、Perl、Java、PHP、Python或Ruby编程来完成。
主页:安装我自己的系统是Windows的,因此从网站上下载安装包之后,一路“Next”就可以安装完毕。
需要注意的地方是,如果想要使用ImageMagick进行开发,需要在安装的过程中勾选“Install development headers and lib raries for C and C++”安装完成后,目录如下图所示:介绍其中几个重要的文件:Lib文件夹:开发需要使用的静态库文件。
包含4个库(前3个分别对应3种接口):[plain]view plaincopy1.CORE_RL_magick_.lib; CORE_RL_Magick++_.lib;CORE_RL_ wand_.lib; X11.lib;Include文件夹:开发需要使用的头文件。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
文:Charry
在认识ImageMagick之前,我使用的图像浏览软件是KuickShow,截图软件是KSnapShot,这两款软件都是KDE附带的软件,用起来也是蛮方便的。
在一次偶然的机会中,我遇到了ImageMagick,才发现Linux竟然有如此功能强大的图像软件。
你将会发现,大部分的操作,你只要在终端下动动键盘即可,省得你用鼠标点来点去。
下面,我对ImageMagick的主要功能做一个简单的介绍,其中覆盖的大都是人们常用的一些功能,如果你要全面的了解它的知识,你可以看看它的man手册。
convert
convert顾名思义就是对图像进行转化,它主要用来对图像进行格式的转化,同时还可以做缩放、剪切、模糊、反转等操作。
∙格式转化
比如把foo.jpg 转化为foo.png:
convert foo.jpg foo.png
∙如果要想把目录下所有的jpg文件都转化为gif,我们可借助于shell的强大功能:find ./ -name "*.jpg" -exec convert {} {}.gif \;
∙转化后的gif名称为*.jpg.gif ,这样看起来不太自然,没关系,我们可以再来一步:rename .jpg.gif .gif *.jpg.gif
∙本来,我想在find的时候,用basename来取得不带后缀的文件名的,这样就不会形成.jpg.gif这种丑陋的名子了,可是不知道为什么,就是不行,如果你知道的话,告诉我
或者,你也可用shell script来完成上述的操作:
for i in *.jpg
do
convert $i `basename $i .jpg`.gif
done
我们还可用mogrify来完成同样的效果:
mogrify -format png *.jpg
∙上面命令将会把目录下面所有的jpg文件转化为png格式。
convert还可以把多张照片转化成pdf格式:
convert *.jpg foo.pdf
∙大小缩放
比如我们要为一个普通大小的图片做一个缩略图,我们可以这样
convert -resize 100x100 foo.jpg thumbnail.jpg
∙你也可以用百分比,这样显的更为直观:
convert -resize 50%x50% foo.jpg thumbnail.jpg
∙convert会自动地考虑在缩放图像大小时图像的高宽的比例,也就是说着新的图像的高宽比与原图相同。
我们还可以批量生成缩略图:
mogrify -sample 80x60 *.jpg
∙注意,这个命令会覆盖原来的图片,不过你可以在操作前,先把你的图片备份一下。
∙加边框
在一张照片的四周加上边框,可以用-mattecolor 参数,比如某位同志牺牲了,我们需要为他做一张黑边框的遗像,可以这样:
convert -mattecolor "#000000" -frame 60x60 yourname.jpg rememberyou.png
∙其中,"#000000"是边框的颜色,边框的大小为60x60
你也可以这样加边框:
convert -border 60x60 -bordercolor "#000000" yourname.jpg rememberyou.png
∙在图片上加文字
convert -fill green -pointsize 40 -draw 'text 10,50 ""' foo.png bar.png ∙上面的命令在距离图片的左上角10x50的位置,用绿色的字写下,如果你要指定别的字体,可以用-font参数。
∙模糊
高斯模糊:
convert -blur 80 foo.jpg foo.png
∙-blur参数还可以这样-blur 80x5。
后面的那个5表示的是Sigma的值,这个是图像术语,我也不太清楚,总之,它的值对模糊的效果起关键的作用。
∙翻转
上下翻转:
convert -flip foo.png bar.png
左右翻转:
convert -flop foo.png bar.png
∙反色
形成底片的样子:
convert -negate foo.png bar.png
∙单色
把图片变为黑白颜色:
convert -monochrome foo.png bar.png
∙加噪声
convert -noise 3 foo.png bar.png
∙油画效果
我们可用这个功能,把一张普通的图片,变成一张油画,效果非常的逼真convert -paint 4 foo.png bar.png
∙旋转
把一张图片,旋转一定的角度:
convert -rotate 30 foo.png bar.png
∙上面的30,表示向右旋转30度,如果要向左旋转,度数就是负数。
∙炭笔效果
convert -charcoal 2 foo.png bar.png
∙形成炭笔或者说是铅笔画的效果。
∙散射
毛玻璃效果:
convert -spread 30 foo.png bar.png
∙漩涡
以图片的中心作为参照,把图片扭转,形成漩涡的效果:
convert -swirl 67 foo.png bar.png
∙凸起效果
用-raise来创建凸边:
convert -raise 5x5 foo.png bar.png
∙执行后,你会看到,照片的四周会一个5x5的边,如果你要一个凹下去的边,把-raise 改为+raise就可以了。
其实凸边和凹边看起来区别并不是很大。
∙其他
其他功能都是不太常用的,如果你感兴趣的话,可以看它的联机文档
import
import是一个用于屏幕截图的组件,下面列出的是我们常用的功能,其他的功能,你参考它的man好了。
∙截取屏幕的任一矩形区域
import foo.png
∙在输入上述的命令后,你的鼠标会变成一个十字,这个时候,你只要在想要截取的地方划一个矩形就可以了
∙截取程序的窗口
import -pause 3 -frame foo.png
∙回车后,用鼠标在你想截的窗口上点一下即可。
参数-frame的作用是告诉import,截图的时候把目标窗口的外框架带上,参数-pause的作用很重要,你可以试着把它去掉,对比一下,你会发现,目标窗口的标题栏是灰色的,pause就是让import稍微延迟一下,等你的目标窗口获得焦点了,才开始截图,这样的图才比较自然。
∙截取一个倾斜的窗口
如果想让你的截图比较cool,你可以把截取一个倾斜的窗口,方法如下:
import -rotate 30 -pause 3 -frame foo.png
∙截取整个屏幕
import -pause 3 -window root screen.png
∙注意,暂停了3秒钟,你需要在3秒钟内切换到需要截取的画面噢。
display
display应该是我们使用的最为频繁的图像处理软件了,毕竟,还是看的多∙显示图片
display foo.png
∙如果你要显示多个文件,你可以使用通配符
display *.png
∙幻灯片
display -delay 5 *
∙每隔5个百分之秒显示一张图片
∙一些快捷键
1space(空格): 显示下一张图片
1backspace(回删键):显示上一张图片
1h: 水平翻转
1v: 垂直翻转
1/:顺时针旋转90度
1\:逆时针旋转90度
1>: 放大
1<: 缩小
1F7:模糊图片
1Alt+s:把图片中间的像素旋转
1Ctrl+s:图象另存
1Ctrl+d:删除图片
1q: 退出
其他
ImageMagick还提供有丰富的编程接口,比如,你可以用php来调用它,用ImageMagick来生成验证码图片,效果非常棒。
ImageMagick还有一个小工具identify,它可以用来显示一个图片文件的详悉信息,比如格式、分辨率、大小、色深等等,你都可用它来帮你的忙。
如果你对命令行不太熟悉,你也可以在图片上单击,你会发现,通过鼠标你也可以完成图像的编辑。
ImageMagick的网站:。
这里是ImageMagick加工过的图片的例子。