Wednesday 23 July 2014

To resize images

I used ffmpeg to scale the width to 480 pixels.

------------------------resize.bat------------------------
mkdir out
FOR %%A IN (*.jpg) DO (
    c:\tools\ffmpeg\bin\ffmpeg -i "%%A" -vf "scale=-1:480" "out/%%A.jpg"
)