Skip to content
Permalink
Browse files

Add png8 format string for qgis server and umn

  • Loading branch information
mhugent committed Aug 19, 2013
1 parent 6d15712 commit 3b70bcc205404eb595fec9905cefbd245480edca
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/providers/wms/qgswmsprovider.cpp
@@ -4442,10 +4442,11 @@ QVector<QgsWmsSupportedFormat> QgsWmsProvider::supportedFormats()
QgsWmsSupportedFormat p1 = { "image/png", "PNG" };
QgsWmsSupportedFormat p2 = { "image/png; mode=24bit", "PNG24" }; // UMN mapserver
QgsWmsSupportedFormat p3 = { "image/png8", "PNG8" }; // used by geoserver
QgsWmsSupportedFormat p4 = { "png", "PNG" }; // used by french IGN geoportail
QgsWmsSupportedFormat p5 = { "pngt", "PNGT" }; // used by french IGN geoportail
QgsWmsSupportedFormat p4 = { "image/png; mode=8bit", "PNG8" }; // used by QGIS server and UMN mapserver
QgsWmsSupportedFormat p5 = { "png", "PNG" }; // used by french IGN geoportail
QgsWmsSupportedFormat p6 = { "pngt", "PNGT" }; // used by french IGN geoportail

formats << p1 << p2 << p3 << p4 << p5;
formats << p1 << p2 << p3 << p4 << p5 << p6;
}

if ( supportedFormats.contains( "jpg" ) )

0 comments on commit 3b70bcc

Please sign in to comment.
You can’t perform that action at this time.