向大鱼致敬 (多图)


Refs

  • 大鱼 (豆瓣)




















































































批处理图片用到的脚本:

#!/bin/bash

X="75"
Y="79"
dX="+0"
dY="+0"

for i in *.png;
do
    image=`basename ${i} .png`
    echo Input: ${i}
    convert ${i} -gravity Center -crop ${X}x${Y}%${dX}${dY} ${i} && echo "Croping done"
    convert ${i} -resize %50 ${i} && echo "Resizing done"
done

echo ===============
echo all done

log: $1. 2014-06-21;

你可能感兴趣的:(向大鱼致敬 (多图))