[Mapbender-commits] r8225 - branches/2.7/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Dec 5 05:52:58 EST 2011


Author: astrid_emde
Date: 2011-12-05 02:52:58 -0800 (Mon, 05 Dec 2011)
New Revision: 8225

Modified:
   branches/2.7/http/classes/class_weldMaps2PNG_rotate.php
Log:
 //write modified image
        $imagick->writeImage($filename);
        
        --> define $filename

Modified: branches/2.7/http/classes/class_weldMaps2PNG_rotate.php
===================================================================
--- branches/2.7/http/classes/class_weldMaps2PNG_rotate.php	2011-12-02 11:30:49 UTC (rev 8224)
+++ branches/2.7/http/classes/class_weldMaps2PNG_rotate.php	2011-12-05 10:52:58 UTC (rev 8225)
@@ -75,7 +75,7 @@
         $imagick->cropImage($width, $height, ($imgWidth-$width)/2, ($imgHeight-$height)/2);
         
         //write modified image
-        $imagick->writeImage();
+        $imagick->writeImage($filename);
         $image = imagecreatefrompng($filename);
         imagepng($image,$filename);
     }



More information about the Mapbender_commits mailing list