my $execstring = "convert -size 300x300 $file -resize 300x300 +profile \"*\" S_$file"; print "$execstring\n"; # system($execstring);