I am trying to run Anthony Thyssen's Resizing to Fill a Given Space
example (http://www.cit.gu.edu.au/~anthony/graphics/imagick6/resize/#space_fill)
in a dos batch script.

-- resize.bat--
@for %%f in (*.pdf) do convert "%%~nf.pdf" -resize "200x" -resize
"x200<" -resize 50% -gravity center -crop 100x100+0+0 +repage
".\resized\%%~nf.jpg"
pause
---

Allthough problems with escaping is not on-toppic in this list, there
might be a workarround for my problem.

The trouble part is the -resize 50% parameter, since % is used in
batch scipts. I have tried -resize "50%" and "-resize 50%" and -resize
^50% and -resize 50^% and a couple more. but with no luck.

Has anyone else tried using % in batch script, or could get at
workarround for this,

/Thomas

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to