DataObjects/Images.php
authorEdward <edward@roojs.com>
Fri, 12 Oct 2018 03:02:39 +0000 (11:02 +0800)
committerEdward <edward@roojs.com>
Fri, 12 Oct 2018 03:02:39 +0000 (11:02 +0800)
DataObjects/Images.php

index 82f3a9a..b5894ef 100644 (file)
@@ -919,7 +919,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
         }
         
         $orientation = $imagick->getImageOrientation(); 
-        print_R($orientation);exit;
+        
         switch($orientation) { 
             case Imagick::ORIENTATION_BOTTOMRIGHT: 
                 $imagick->rotateimage(new ImagickPixel('#00000000'), 180); // rotate 180 degrees 
@@ -937,4 +937,9 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
         return $imagick->getImageBlob();
     }
     
+    function scale($width, $height)
+    {
+        
+    }
+    
  }