Thats a good info but I like this better (for obvious reasons that it does not change the filename):
for i in * do; convert -sample 800×600 i ak_i; done
BTW, do you have any idea, wheather resize is better or sample is better option in covert for resizing the image. I did not see any difference in both approaches other then technical difference.
Yeah – I like that too – as a matter of fact, I have a shell script that does this…
#!/bin/sh
# An Easy command to use the convert command. Makes sure that the rename problem don't happen
if [ ! -d "Out" ]; then
mkdir Out
fi
sel="*.*"
if [ # -eq 2 ] ; then
sel=2
fi
for i in sel; do
echo -n "Convertingi ... "
convert 1i Out/$i
echo "Done"
done
About the Resample/Resize issue – I am not sure either.
Whst should be the value of “name” here. How will the original files be named?
Name is the output file name. The original files can be named however you want them.
Thats a good info but I like this better (for obvious reasons that it does not change the filename):
for i in * do; convert -sample 800×600 i ak_i; done
BTW, do you have any idea, wheather resize is better or sample is better option in covert for resizing the image. I did not see any difference in both approaches other then technical difference.
Yeah – I like that too – as a matter of fact, I have a shell script that does this…
About the Resample/Resize issue – I am not sure either.