This converts all images in a folder to 320 px wide and height autoscaled
# run this is script in the image folder
# change the value 320 to whatever width you want
response = 320
for f in *; do
# prefix the results with sm_ or change to what you want
convert $f -resize $response +profile "*" sm_$f
On 14/05/2017 18:42, Mark Trickett via luv-main wrote:
Hello Tony and Kathy,
On 5/14/17, Tony White via luv-main <luv-main(a)luv.asn.au> wrote:
If you have ImageMagick installed on your system you can use the utility
convert to manage this for you.
Usage: convert [options ...] file [ [options ...] file ...] [options ...]
It is filling in the options that has me scratching and not getting
there at the moment. To Kathy, I did look at the link, and it reflects
what I have read. The GIMP is not small, it is not quick to load, and
it can take several saves to get the file size small enough, I have
even had the file size grow. To Andrew Greig, these are coming from an
old Nokia phone in jpeg format to start with.
If you want to do an entire folder/directory in
one go let me know off list
as we use a script to automate it for our use.
I am interested, but still need to
know the options.
luv-main mailing list