#!/usr/bin/perl

@_ = <STDIN>;

foreach (@_) {
    $file = $_;
    chomp($file);  
    system("convert -size 768x512 $file ~/www/kjernsmo/ausangate/htdocs/images/main/pics/$file");
}
