chris@chris-u /var/www/tests $ php batchresize.php testdir 100000 *.JPG
batchresize: Processing 14 files; target size 100000; target directory: testdir
==================================================================================
IMG_0116.JPG: 81134 -> 106176 bytes; quality:97% Found nearest input value(-)
IMG_0444.JPG: 74425 -> 108309 bytes; quality:98% Hit upper bound
IMG_1121.JPG: 141420 -> 103364 bytes; quality:85% Found nearest input value(-)
IMG_1146.JPG: 71319 -> 107676 bytes; quality:98% Hit upper bound
IMG_1264.JPG: 109951 -> 106090 bytes; quality:93% Found nearest input value(-)
IMG_1291.JPG: 73159 -> 110249 bytes; quality:98% Hit upper bound
IMG_1304.JPG: 101333 -> 104522 bytes; quality:94% Found nearest input value(-)
IMG_1351a.JPG: 101902 -> 105136 bytes; quality:94% Found nearest input value(-)
IMG_1355.JPG: 93796 -> 108359 bytes; quality:95% Found nearest input value(-)
IMG_1390.JPG: 86379 -> 105583 bytes; quality:96% Found nearest input value(-)
IMG_1582.JPG: 110132 -> 105135 bytes; quality:93% Found nearest input value(-)
IMG_1861.JPG: 108302 -> 103732 bytes; quality:93% Found nearest input value(-)
IMG_1964.JPG: 108067 -> 104385 bytes; quality:93% Found nearest input value(-)
IMG_2184.JPG: 97406 -> 100395 bytes; quality:94% Found nearest input value(-)
chris@chris-u /var/www/tests $
|