【发布时间】:2017-04-11 22:25:08
【问题描述】:
我需要调整图像大小并清理 exif 数据,但从源图像big.jpg 输出 exif 数据,并为small.jpg 输出转换后的图像大小。
不输出exif数据:
gm convert big.jpg -format "%w %h %[exif:DateTime]" -strip -resize "250x250>" -write small.jpg info:-
不输出转换后的图像大小(small.jpg):
gm convert big.jpg -format "%w %h %[exif:DateTime]" -write info:- -strip -resize "250x250>" small.jpg
如何正确操作? 谢谢。
【问题讨论】:
标签: graphicsmagick