I have 1000's of images to convert. I already posted about this here (viewtopic.php?f=2&t=35870#p165168), and then found that im has a -script option. I can't seem to find much help on that, nor even search for that term in this forum.
I've experimented with a script file and it doesn't do what I expect.
output from --version is this
Version: ImageMagick 7.0.8-40 Q16 x64 2019-04-13 http://www.imagemagick.org
invoking magick like this
Code: Select all
magick.exe -script test.txt
Code: Select all
-read c:/dev/projects/game/data/ui/ui/bgWood.bmp -resize 1024x1024! -type truecolor -write c:/dev/projects/game/tmp/pc/ui/ui/bgWood.bmp
-read c:/dev/projects/game/data/ui/ui/Black.bmp -resize 128x128! -type truecolor -write c:/dev/projects/trunk//tmp/pc/ui/ui/Black.bmp
Black-0.bmp
Black-1.bmp
Black-0 contains the texture from bgWood.bmp
Black-1 contains the texture from Black.bmp
does anyone know what the right way to convert multiple images is please, and does anyone have any examples of using the -script option?
thanks
Rob