【发布时间】:2016-02-03 15:19:23
【问题描述】:
我有一个高清图片文件夹,+2000px 宽度:
+ /img/
+- /bikes/: few images here (jpg,png,svg)
+- /cars/ : few images here
+- /cats/ : few images here
+- /dogs/ : few images here
+- /...
我想将整个图像调整为 200 像素宽的图像(相同的比例),但保留文件夹结构。
怎么做?
【问题讨论】:
-
Google 搜索
imagemagick resize recursive似乎产生了不错的结果 -
stackoverflow.com/questions/10802606/… 我认为将图像大小调整为 200 px 宽度的 size 参数是
-resize 200x -
您是要覆盖原始图像,还是使用新名称创建新的、更小的文件?
-
@MarkSetchell:我的意思是在与
-small相同的文件夹中或在并行文件夹树中创建新的。
标签: imagemagick mogrify