I'm doing some work batch converting svgs to pngs and as part of this, I would like to set a hard cap on the height of converted image while the width could vary.
Is this possible from command line or would I not be able to do so.
Right now I'm doing
Code: Select all
for /r %%v in (*.svg) do convert "%%v" "%%~nv.png"
So that if an image is 100x100 its new size would be 600x600 and if an image is 100x200 its converted size would be 600x1200.
Thanks!
Drew