0.8.12
This commit is contained in:
8
leaf.php
8
leaf.php
@@ -4,7 +4,7 @@
|
|||||||
// Artways, LLC
|
// Artways, LLC
|
||||||
// No license, do not distribute
|
// No license, do not distribute
|
||||||
|
|
||||||
$version = "0.8.11";
|
$version = "0.8.12";
|
||||||
$time_start = microtime(true);
|
$time_start = microtime(true);
|
||||||
date_default_timezone_set("America/Los_Angeles");
|
date_default_timezone_set("America/Los_Angeles");
|
||||||
|
|
||||||
@@ -17,7 +17,6 @@ if (in_array($cores,$reasonable_cores)) {
|
|||||||
} else {
|
} else {
|
||||||
$xt = 2;
|
$xt = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Functions
|
// Functions
|
||||||
|
|
||||||
function crop_imgk_to_xmp($cwidth, $cheight, $xoff, $yoff, $width, $height) {
|
function crop_imgk_to_xmp($cwidth, $cheight, $xoff, $yoff, $width, $height) {
|
||||||
@@ -834,7 +833,8 @@ foreach ($jpg as $parts) {
|
|||||||
if (args("skipg")) { continue; }
|
if (args("skipg")) { continue; }
|
||||||
|
|
||||||
$msg = "Processing greyscale page ".$file." @ ".$dims."!";
|
$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) {
|
} elseif (isset($parts[3]) && $parts[3] == 2) {
|
||||||
|
|
||||||
@@ -1291,7 +1291,7 @@ foreach ($picks as $file) {
|
|||||||
|
|
||||||
echo "\n";
|
echo "\n";
|
||||||
ask("Press return to open Bridge.");
|
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.");
|
ask("Press return when crops have been applied.");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user