Hi, I have seen a difference : * in the migrated file, the property <WMSImageQuality type="int">90</WMSImageQuality> is kept inside the QGS. * in a QGIS 3 project from scratch, this flag is not written if the default value is used : menu Project / QGIS Server / WMS Capabilities / Qualite for JPEG images. The flag is written only if the value is not the default one, for example if value = 80
This means there is a regression in QGIS 3 Server, which uses this parameter for PNG and not only for JPEG ! I will search deeper in the code regards Michaël 2018-01-11 12:08 GMT+01:00 kimaidou <[email protected]>: > Hi, > > I am testing QGIS 3 Server. > When I create a project from scratch in QGIS 3, and use it to publish WMS > service, the getMap requests return correct PNG images : > ~ 100 ko for a size of ~ 1500 X 800 pixels > > When I open a project made with 2.18 and save it with QGIS 3, and publish > it, I get huge PNG files : > ~ 4,5 Mo (!) for the same layer, configuration and getMap request. > > I am wondering what is happening. Here are the files and projects : > https://framadrop.org/r/JpTgir91jk#ZHFXi6ejrGQ/ > 1NA2TbV4rD/HEfeqqbzA5XaVjrK+aqQ= > > I have not been able to see any major difference explaining this > behaviour. > > Thanks in advance > > Michaël >
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
