ImageMagick是一款跨平台的开源免费图像处理软件,可以读取、转换、写入多种格式的图片后,创建、编辑、合成新的图片。支持超过89种基本格式的图片文件,包括TIFF、JPEG、GIF、 PNG、PDF以及PhotoCD等格式。图片切割、颜色替换、各种效果的应用,图片的旋转、组合,文本,直线, 多边形,椭圆,曲线,附加到图片伸展旋转。
借助ImageMagick可以动态生成图片,也支持对一个(或一组)图片进行改变大小、旋转、锐化、减色或增加特效等操作,并将操作的结果以相同格式或其它格式保存,对图片的操作,即可以通过命令行进行,也可以用C/C++、Perl、Java、PHP、Python或Ruby编程来完成。同时ImageMagick提供了一个高质量的2D工具包,支持SVG。
功能特色
1.格式转换,包括直接转换成图标。
2. 改变尺寸、旋转、锐化(sharpen)、减色、图片特效
3. 缩略图片的合成图
4. 适于web的背景透明的图片
5. 将一组图片作成gif动画
6. 将几张图片作成一张组合图片
7. 在一个图片上写字或画图形,带文字阴影和边框渲染。
8. 给图片加边框或框架
9. 取得图片的特性信息
---------------------------
ImageMagick® is a free and open-source software suite for displaying, converting, and editing raster image and vector image files. It can read and write over 200 image file formats, and can support a wide range of image manipulation operations, such as resizing, cropping, and color correction.
What is ImageMagick?
ImageMagick is written in C and is available for a wide range of operating systems, including Linux, macOS, and Windows. It can be used as a standalone application, or as a library that can be integrated into other software programs.
The main website for ImageMagick can be found at https://imagemagick.org. The source code for this software can be accessed through the repository located at https://github.com/ImageMagick/ImageMagick. In addition, a legacy version of ImageMagick, version 6, is also still maintained and can be found at https://legacy.imagemagick.org.
Features and Capabilities
One of the key features of ImageMagick is its support for scripting and automation. This allows users to create complex image manipulation pipelines that can be run automatically, without the need for manual intervention. This can be especially useful for tasks that require the processing of large numbers of images, or for tasks that need to be performed on a regular basis.
In addition to its core image manipulation capabilities, ImageMagick also includes a number of other features, such as support for animation, color management, and image rendering. These features make it a versatile tool for a wide range of image-related tasks, including graphic design, scientific visualization, and digital art.
Overall, ImageMagick is a powerful and versatile software suite for displaying, converting, and editing image files. Its support for scripting and automation, along with its other features, make it a valuable tool for a wide range of image-related tasks.
Here are just a few examples of what ImageMagick can do:
- Animation: non-linear, edge-preserving, and noise-reducing smoothing filter.
- Bilateral Blur: non-linear, edge-preserving, and noise-reducing smoothing filter.
- Color management: accurate color management with color profiles or in lieu of-- built-in gamma compression or expansion as demanded by the colorspace.
- Color thresholding force all pixels in the color range to white otherwise black.
- Command-line processing utilize ImageMagick from the command-line.
- Complex text layout bidirectional text support and shaping.
- Composite: overlap one image over another.
- Connected component labeling: uniquely label connected regions in an image.
- Convex hull smallest area convex polygon containing the image foreground objects. In addition, the minimum bounding box and unrotate angle are also generated.
- Decorate: add a border or frame to an image.
- Delineate image features: Canny edge detection, mean-shift, Hough lines.
- Discrete Fourier transform: implements the forward and inverse DFT.
- Distributed pixel cache: offload intermediate pixel storage to one or more remote servers.
- Draw: add shapes or text to an image.
- Encipher or decipher an image: convert ordinary images into unintelligible gibberish and back again.
- Format conversion: convert an image from one format to another (e.g. PNG to JPEG).
- Generalized pixel distortion: correct for, or induce image distortions including perspective.
- Heterogeneous distributed processing: certain algorithms are OpenCL-enabled to take advantage of speed-ups offered by executing in concert across heterogeneous platforms consisting of CPUs, GPUs, and other processors.
- 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.
- Histogram equalization use adaptive histogram equalization to improve contrast in images.
- Image cache: secure methods and tools to cache images, image sequences, video, audio or metadata in a local folder.
- Image calculator: apply a mathematical expression to an image or image channels.
- Image gradients: create a gradual blend of one color whose shape is horizontal, vertical, circular, or elliptical.
- Image identification: describe the format and attributes of an image.
- ImageMagick on the iPhone: convert, edit, or compose images on your iPhone.
- Large image support: read, process, or write mega-, giga-, or tera-pixel image sizes.
- Montage: juxtapose image thumbnails on an image canvas.
- Morphology of shapes: extract features, describe shapes and recognize patterns in images.
- Motion picture support: read and write the common image formats used in digital film work.
- Multispectral imagery: support multispectral imagery up to 64 bands.
- Noise and color reduction Kuwahara Filter, mean-shift.
- Perceptual hash: maps visually identical images to the same or similar hash-- useful in image retrieval, authentication, indexing, or copy detection as well as digital watermarking.
- Special effects: blur, sharpen, threshold, or tint an image.
- Text & comments: insert descriptive or artistic text in an image.
- Threads of execution support: ImageMagick is thread safe and most internal algorithms are OpenMP-enabled to take advantage of speed-ups offered by multicore processor chips.
- Transform: resize, rotate, deskew, crop, flip or trim an image.
- Transparency: render portions of an image invisible.
- Virtual pixel support: convenient access to pixels outside the image region.
Examples of ImageMagick Usage, demonstrates how to use the software from the command line to achieve various effects. There are also several scripts available on the website called Fred's ImageMagick Scripts, which can be used to apply geometric transforms, blur and sharpen images, remove noise, and perform other operations. Additionally, there is a tool called Magick.NET that allows users to access the functionality of ImageMagick without having to install the software on their own systems. Finally, the website also includes a Cookbook with tips and examples for using ImageMagick on Windows systems.
News
ImageMagick best practices strongly encourages you to configure a security policy that suits your local environment.
Now that ImageMagick version 7 is released, we continue to maintain the legacy release of ImageMagick, version 6, at https://legacy.imagemagick.org. Learn how ImageMagick version 7 differs from previous versions with our porting guide.
Want more performance from ImageMagick? Try these options:
- add more memory to your system, see the pixel cache;
- add more cores to your system, see threads of execution support;
- reduce lock contention with the tcmalloc memory allocation library;
- push large images to a solid-state drive, see large image support.
If these options are prohibitive, you can reduce the quality of the image results. The default build is Q16 HDRI. If you disable HDRI, you use half the memory and instead of predominantly floating point operations, you use the typically more efficient integer operations. The tradeoff is reduced precision and you cannot process out of range pixel values (e.g. negative). If you build the Q8 non-HDRI version of ImageMagick, you again reduce the memory requirements in half-- and once again there is a tradeoff, even less precision and no out of range pixel values. For a Q8 non-HDRI build of ImageMagick, use these configure script options: --with-quantum-depth=8 --disable-hdri.
from https://github.com/ImageMagick/ImageMagick
------
相关帖子:
GraphicsMagick的安装
No comments:
Post a Comment