make images web-ready through sub-folders
Posted: 2019-04-24T10:56:29-07:00
Hi,
I'll start with my setup:
Windows 10 with the portable version of IM version 7.0.5-5 Q16 running commands from a .bat file
I've been resizing images for some time but normally from 1 folder. All works fine for me at that point.
Now I would love to get the same results but then using images in sub-folders. This is where I tried many but not succeeded (yet).
The command I used in my .bat file is this :
..\ImageMagick-portable\mogrify.exe -path ..\1200\ -verbose -resize 1200x1200 -auto-orient -quality 60 -density 72x72 -gravity center -extent 1200x1200 ..\_img-todo\*.jpg
I have been trying with several looping commands trying to make it work but no luck. It could be right in front of me... or out of my league
Because I tried so many I'm not going to display them all unless requested because maybe somebody knows a way to make my original command work?
Any tips are more then welcome and much appreciated.
Nico
I'll start with my setup:
Windows 10 with the portable version of IM version 7.0.5-5 Q16 running commands from a .bat file
I've been resizing images for some time but normally from 1 folder. All works fine for me at that point.
Now I would love to get the same results but then using images in sub-folders. This is where I tried many but not succeeded (yet).
The command I used in my .bat file is this :
..\ImageMagick-portable\mogrify.exe -path ..\1200\ -verbose -resize 1200x1200 -auto-orient -quality 60 -density 72x72 -gravity center -extent 1200x1200 ..\_img-todo\*.jpg
I have been trying with several looping commands trying to make it work but no luck. It could be right in front of me... or out of my league
Because I tried so many I'm not going to display them all unless requested because maybe somebody knows a way to make my original command work?
Any tips are more then welcome and much appreciated.
Nico