[Nottingham] Downloading multiple images from a website

Robert Hart enxrah at nottingham.ac.uk
Sat Jun 4 01:03:08 BST 2005


On Sat, 4 Jun 2005, Teh Gooroo wrote:

> Following this delightful discussion on all things globful..
> Im trying to get something together that cleanly copies manga in
> individual page scans with titles like "chaosic-v01c01-031.jpg" to my
> psp... which for some horrific reason uses fat12 and concatenates
> filenames to 8.3 names.
> The end result being i end up with a single file. 
> Not so much fun.
> 
> Also, following this more offtopic, anyone aware of decent batch image
> converters? im using xnview currently to convert png to jpg, but need
> to change res cleanly as well.
> (learning to code against the gimp does not count as a solution.. till
> i get more desperate!)

Yeah, use "convert" from ImageMagick

something like:

for i in *.png ; do convert $i -resize 640x480 $i `basename $i`.jpg ; done

Knowing this thread, you'll get 27 other different ways to do this.

Rob


-- 
o    o
 \__/   Robert Hart                     15 Benington Drive
 /oo\	University of Nottingham        Wollaton
 \()/	http://www.nott.ac.uk/~enxrah   Nottingham
 |~~|	enxrah at nott.ac.uk               NG8 2TF
 |~~|
 |~~|               /\
 \~~\              /\/
  \~~\____________/\/
   \/ | | | | | | \/
         ~~~~~~~~~~~~~~~


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




More information about the Nottingham mailing list