Chinaunix首页 | 论坛 | 博客
  • 博客访问: 85536
  • 博文数量: 28
  • 博客积分: 1221
  • 博客等级: 少尉
  • 技术积分: 280
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-04 21:36
个人简介

文章存档

2011年(1)

2010年(27)

我的朋友

分类: LINUX

2010-04-25 02:50:09


Introduction to ImageMagick

ImageMagick® is a software suite to create, edit, and compose bitmap images.
It can read, convert and write images in a variety of formats (over 100)
including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG,
and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and
transform images, adjust image colors, apply various special effects, or draw
text, lines, polygons, ellipses and Bézier curves.

The functionality of ImageMagick is typically utilized from the command line
or you can use the features from programs written in your favorite programming
language. Choose from these interfaces: G2F (Ada), MagickCore (C), MagickWand
(C), ChMagick (Ch), ImageMagickObject (COM+), Magick++ (C++), JMagick (Java),
L-Magick (Lisp), NMagick (Neko/haXe), MagickNet (.NET), PascalMagick (Pascal),
PerlMagick (Perl), MagickWand for PHP (PHP), IMagick (PHP), PythonMagick
(Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface,
use ImageMagick to modify or create images dynamically and automagically.

ImageMagick is free software delivered as a ready-to-run binary distribution
or as source code that you may freely use, copy, modify, and distribute. Its
license is compatible with the GPL. It runs on all major operating systems.
Features and Capabilities

Here are just a few examples of what ImageMagick can do:

* Format conversion: convert an image from one format to another (e.g. PNG
to JPEG)
* Transform: resize, rotate, crop, flip or trim an image
* Transparency: render portions of an image invisible
* Draw: add shapes or text to an image
* Decorate: add a border or frame to an image
* Special effects: blur, sharpen, threshold, or tint an image
* Animation: create a GIF animation sequence from a group of images
* Text & comments: insert descriptive or artistic text in an image
* Image identification: describe the format and properties of an image
* Composite: overlap one image over another
* Montage: juxtapose image thumbnails on an image canvas
* Motion picture support: read and write the common image formats used in
digital film work
* Image calculator: apply a mathematical expression to an image or image
channels
* High dynamic-range images: accurately represent the wide range of
intensity levels found in real scenes ranging from the brightest direct
sunlight to the deepest darkest shadows
* Large image support: read, process, or write mega- and giga-pixel image
sizes
* Encipher or decipher an image: convert ordinary images into
unintelligible gibberish and back again
* Threads of execution support: ImageMagick is thread safe and many
internal algorithms are already threaded to take advantage of speed-ups
offered by the dual and quad-core processor technologies

这里是一些关于ImageMagick能做什么的例子:

* 格式转换:将图像从一种格式转换到另一种(例子,PNG转换到JPEG)
* 变形:调整大小、旋转、裁剪、翻转或者图片微调
* 透明度:将图像的某些部分呈现为不可见
* 绘图:增加形状或者文本到图像上
* 装饰:增加边框或帧到图像上
* 特效:模糊、锐化、阈值,或者给图像染色
* 动画:从一组图像中创建一个GIF动画序列
* 文本和注释:在图像中插入描述性的或者艺术性的文本
* 图像识别:描述图像的格式和属性
* 合成:将一张图像重叠到另外一张上
* 蒙太奇:将图像的缩略图并列到一张图像画布上
* 电影支持:在数字电影作品中读取和写入常见图像格式
* 图像计算:将一个数学表达式应用于图像或图像通道
* 高动态范围图像:精确表现在真实场景(亮到直射的阳光,深到最暗的阴影)中找
到的各种亮度级别
* 支持大图像:读取、处理,或写入兆和千兆像素尺寸的图像
* 加密或解密图像:转换普通图像为无法识别的乱码和还原图像
* 支持线程执行:ImageMagick是线程安全的,许多内部算法已经利用双核和四核处
理器技术提供的加速效果来作为线程运行

For more information, see http://www.imagemagick.org.

Examples of Imagemagick Usage, http://www.imagemagick.org/usage/,
shows how to use ImageMagick from the command-line to accomplish any
of these tasks and much more. Also, see Fred's ImageMagick Scripts,
http://www.fmwconcepts.com/imagemagick/, a plethora of command-line scripts
that perform geometric transforms, blurs, sharpens, edging, noise removal,
and color manipulations.

更多信息请查看 http://www.imagemagick.org。

Imagemagick用法的例子,http://www.imagemagick.org/usage/,显示了如何从命令行使
用 ImageMagick 完成任何这些任务及更多。同时,你可以查看Fred的ImageMagick脚本,
http://www.fmwconcepts.com/imagemagick/ 包含很多的命令行脚本,用以完成几何转换
、模糊、锐化、边饰、去除噪音和颜色处理。
阅读(528) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~