[Mapbender-commits] r4991 - branches/2.6/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Nov 16 07:25:12 EST 2009


Author: astrid_emde
Date: 2009-11-16 07:25:12 -0500 (Mon, 16 Nov 2009)
New Revision: 4991

Modified:
   branches/2.6/http/classes/class_SaveLegend.php
Log:
http://trac.osgeo.org/mapbender/ticket/528

changed to imagepng($image,$legend_filename);

else black background for the images occurs in pdf-print

Modified: branches/2.6/http/classes/class_SaveLegend.php
===================================================================
--- branches/2.6/http/classes/class_SaveLegend.php	2009-11-16 10:11:13 UTC (rev 4990)
+++ branches/2.6/http/classes/class_SaveLegend.php	2009-11-16 12:25:12 UTC (rev 4991)
@@ -48,7 +48,7 @@
 			}else{
 				$e = new mb_exception("SaveLegend: unable to load image: " . $url);
 			}
-		imagepng($img,$legend_filename);
+		imagepng($image,$legend_filename);
 		imagedestroy($img);
 	}
 	function loadpng ($imgurl) {



More information about the Mapbender_commits mailing list