Opened 15 years ago
Closed 15 years ago
#528 closed defect (fixed)
Black background in legend PDF-output
Reported by: | gerd | Owned by: | dev |
---|---|---|---|
Priority: | minor | Milestone: | 2.6.1 release |
Component: | Version: | 2.5.1 | |
Keywords: | Cc: | frankjaeger |
Description
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...
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | mapfile.map added |
---|
comment:1 by , 15 years ago
Cc: | added |
---|---|
Milestone: | 2.7 release → 2.6.1 |
Resolution: | → fixed |
Status: | new → closed |
Changed for Mapbender 2.6.1 and trunk
snippets from mapfile config