#528: Black background in legend PDF-output
--------------------+-------------------------------------------------------
 Reporter:  gerd    |       Owner:  dev        
     Type:  defect  |      Status:  new        
 Priority:  minor   |   Milestone:  2.6 release
Component:  print   |     Version:  2.5.1      
 Keywords:          |  
--------------------+-------------------------------------------------------
 Hi I'm new here and I've got a problem with the legend output from the
 printPDF module. When I use AGG/PNG Driver in the mapfile from MapServer
 with TRANSPARENT ON option (see file), the GetLegendGraphic-request
 returns an transparent legend graphic. But when I try to print an PDF-
 output with a legend these legend graphics get an black background. I
 found out that there maybe a problem in class_SaveLegend.php. Just turned
 line 51
         imagepng($img,$legend_filename);
 into
         imagepng($image,$legend_filename);
 fixed it for me.
 Maybe this helps...

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/528>
Mapbender <http://www.mapbender.org/>
Mapbender
_______________________________________________
Mapbender_dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapbender_dev

Reply via email to