Bug report #15089
WMS legend image size too big: make it transparent?
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23031|
Hi, some WMS services provide legend images for layers which are much too big:
As you can see in the screendump: knmilegendnotok.png
The owner of the service, though gave me a simple hack: add &transparent=true to the getlegendgraphic makes the layer manager resize the image to the viewable part of the iamge (see knmilegendok.png)...
So I have the patch ready here, just wondering if somebody sees a problem in adding this by default (UNLESS off course there is a explicit &TRANSPARENT=false in the legendgraphicurl in the wms capabilities.