changeset 284:403f2e1e5e79

Indentation.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 17 May 2019 03:15:53 +0300
parents 1bcaab2d3e6a
children 25324e33fc78
files mgtool.php
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mgtool.php	Fri May 17 02:05:01 2019 +0300
+++ b/mgtool.php	Fri May 17 03:15:53 2019 +0300
@@ -153,9 +153,9 @@
     if ($img === FALSE)
       return mgError("GraphicsMagick could not digest '".$inFilename."'.\n");
 
-//    $profiles = $img->getImageProfile("icc");
-//    $img->setImageDepth(16);
-//    $img->setImageColorspace(Gmagick::COLORSPACE_SRGB);
+    //$profiles = $img->getImageProfile("icc");
+    //$img->setImageDepth(16);
+    //$img->setImageColorspace(Gmagick::COLORSPACE_SRGB);
 
     if ($outDim !== FALSE)
     {
@@ -195,7 +195,7 @@
 
       case "webp":
         $img->setFormat("WEBP");
-//        $img->setOption('webp:method', '6');
+        //$img->setOption('webp:method', '6');
         break;
 
        default:
@@ -205,8 +205,8 @@
     $img->setCompressionQuality($outQuality);
 
     $img->stripImage();
-//    if (!empty($profiles))
-//      $img->profileImage("icc", $profiles);
+    //if (!empty($profiles))
+    //  $img->profileImage("icc", $profiles);
 
     $img->writeImage($outFilename);
     $img->destroy();