increased quality to 95, but reduced file size overall my changing sharpening methods... unsharp mask with custom parameters now in place. also mandated Lanczos filtering to reduce variability, and are now working with smaller image sizes pre resize to reduce processing time

This commit is contained in:
Andrew 2009-01-10 15:13:59 -08:00
parent 3799fe2580
commit 7bb671fa80

View file

@ -74,10 +74,10 @@ foreach $file (sort {lc($a) cmp lc($b) } (@files)) {
$num_files--;
## Create Commands.
`\"$convertpath\" -monitor -quality 80 -resize 1280x1280 \"$input\" \"$reg\"`; print LOG ".";
`\"$convertpath\" -filter Lanczos -resize 1280x1280 -unsharp 1.0x0.8+1.0+.05 -quality 95 \"$input\" \"$reg\"`; print LOG ".";
`\"$compositepath\" -monitor -dissolve 15 -gravity \"SouthEast\" \"$watermarkpath\" \"$reg\" \"$reg\"`; print LOG ".";
`\"$convertpath\" -monitor -quality 80 -sharpen 1 -resize 500x500 \"$input\" \"$mid\"`; print LOG ".";
`\"$convertpath\" -monitor -quality 50 -resize 150x150 -quality 50 \"$input\" \"$thm\"`; print LOG ".";
`\"$convertpath\" -size 1280x1280 -filter Lanczos -resize 500x500 -unsharp 1.0x0.8+1.0+.05 -quality 95 \"$input\" \"$mid\"`; print LOG ".";
`\"$convertpath\" -size 500x500 -filter Lanczos -resize 150x150 -unsharp 1.0x0.8+1.0+.05 -quality 75 \"$input\" \"$thm\"`; print LOG ".";
## create XML entry for that file.
print XML '<photo>'."\n";
print XML '<image>'.$new_file.'</image>'."\n";