图片处理工具ImageMagick

安装

yum install ImageMagick

使用工具

overlap one image over another.convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.describe the format and characteristics of one or more image files.resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image file, whereas,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 makingstreamdesirable when working with large images or when you require raw pixel components.

查看版本

convert –version合成并重构图片尺寸(给图片加个logo)convert logo.jpg img.jpg -gravity northwest -composite -resize 124×68 -strip -sampling-factor 4:2:0 -quality 85 result0.jpg横向拼接图片convert 1.jpg 2.jpg 3.jpg +append result1.jpg纵向拼接图片convert 1.jpg 2.jpg 3.jpg -append result2.jpg

查看图片属性

identify result0.jpg

显示图片

display img.jpg

版权声明:本文为博主原创文章,,未经博主允许不得转载。

如果你曾歌颂黎明,那么也请你拥抱黑夜

图片处理工具ImageMagick

相关文章:

你感兴趣的文章:

标签云: