I have 6.6.9-7. q16 dynamic - window xp
If I do: "convert -size 1650x1275 xc:"#ffffcc" -resize 50% test2.png" it work perfectly. I get an image that is 825x638.
It I create a .bat file withthe same command, it ignores the % sign and create an image that is 50x39. I tried adding a \ before the %, but that does not work either. Is this a bug or am I doing something wrong?
as a followup, I also tried putting quotes around the 50% and it did not make a difference.
convert -size 1650x1275 xc:"#ffffcc" -resize "50%" test2.png
Resize problem running a bat vs command window
Re: Resize problem running a bat vs command window
Try escaping the % with another % 50%%
Re: Resize problem running a bat vs command window
OK. I figured it out. I will keep the message out here in case someone else has the same problem. percent signs in a bat file need to be escaped with another percent sign. I changed it to 20%% and it works fine.
Re: Resize problem running a bat vs command window
sorry bonzo, missed your post. Thanks for the input.