diff --git a/leaf.php b/leaf.php index b492e57..dba30ae 100644 --- a/leaf.php +++ b/leaf.php @@ -4,7 +4,7 @@ // Artways, LLC // No license, do not distribute -$version = "0.8.11"; +$version = "0.8.12"; $time_start = microtime(true); date_default_timezone_set("America/Los_Angeles"); @@ -17,7 +17,6 @@ if (in_array($cores,$reasonable_cores)) { } else { $xt = 2; } - // Functions function crop_imgk_to_xmp($cwidth, $cheight, $xoff, $yoff, $width, $height) { @@ -834,7 +833,8 @@ foreach ($jpg as $parts) { if (args("skipg")) { continue; } $msg = "Processing greyscale page ".$file." @ ".$dims."!"; - $cmd = "convert -resize ".$dims."\! -colorspace gray -type TrueColor "; +// $cmd = "convert -resize ".$dims."\! -colorspace gray -type TrueColor "; + $cmd = "convert -resize ".$dims."\! -colorspace gray -type GrayScale "; } elseif (isset($parts[3]) && $parts[3] == 2) { @@ -1291,7 +1291,7 @@ foreach ($picks as $file) { echo "\n"; ask("Press return to open Bridge."); -exec("open ".args("dir")." -b com.adobe.bridge7"); +exec("open ".args("dir")." -b com.adobe.bridge8"); ask("Press return when crops have been applied.");