- psd: “/usr/bin/convert test1.psd[0] -profile ISOcoated_v2_eci.icc -profile eciRGB_v2.icc -resize 1000×1000 -size 1000×1000 xc:white +swap -compose over -composite -trim -colorspace RGB -quality 100 test1.jpg”
- psd: “$imagick_path test1.psd[0] -profile ISOcoated_v2_eci.icc -profile eciRGB_v2.icc -geometry 1000×1000 -flatten -colorspace RGB -quality 100 test1.jpg”
- eps: “$imagick_path test1.eps[0] -density 600 -colorspace RGB -quality 100 test1.jpg”
- tif: “$imagick_path test1.tif[0] -profile ISOcoated_v2_eci.icc -profile eciRGB_v2.icc -colorspace RGB -antialias -geometry 1000×1000 -quality 100 test1.jpg”
Tag: imagemagick
psd,eps,tif to jpg
Imagemagick黑白图片
convert -set option:modulate:colorspace rgb -modulate 100,0 D:/wamp/www/test.jpg D:/wamp/www/test1.jpg
typo3:
$picConf['image.']['file.']['params'] = ' -set option:modulate:colorspace rgb -modulate 100,0 ';
http://www.imagemagick.org/script/command-line-options.php#modulate
泛黄图片:
convert -set option:modulate:colorspace sRGB -modulate 100,0 -fill “rgb(237,170,73)” -tint 100 -modulate 100,80,104 -quality 100 test1.jpg test2.jpg
ImageMagick — 图片处理
1. convert
对图像进行转换,它主要用来对图像进行格式的转化,同时还可以做缩放、剪 切、模糊、反转等操作。
exec(“D:/imagemagick/ImageMagick-6.6.0-Q16/convert.exe convert -monochrome D:/wamp/www/test.jpg D:/wamp/www/test1.jpg”);