64 int imageQuality = -1 );
A rectangle specified with double values.
void writeImage(QgsServerResponse &response, QImage &img, const QString &formatStr, int imageQuality)
Write image response.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts, annotations, canvases, etc.
Median cut implementation.
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
QUrl serviceUrl(const QgsServerRequest &request, const QgsProject *project)
Returns WMS service URL.
ImageOutputFormat
Supported image output format.
QgsServerResponse Class defining response interface passed to services QgsService::executeRequest() m...
ImageOutputFormat parseImageFormat(const QString &format)
Parse image format parameter.