Skip to content
Permalink
Browse files

wms: allow image/jpgpng (fixes #9622)

  • Loading branch information
jef-n committed Feb 26, 2014
1 parent d78e05c commit bcbf9ddb640e7f687390e83316f4499c82846e15
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/providers/wms/qgswmsprovider.cpp
@@ -2597,7 +2597,8 @@ QVector<QgsWmsSupportedFormat> QgsWmsProvider::supportedFormats()
if ( supportedFormats.contains( "png" ) && supportedFormats.contains( "jpg" ) )
{
QgsWmsSupportedFormat g1 = { "image/x-jpegorpng", "JPEG/PNG" }; // used by cubewerx
formats << g1;
QgsWmsSupportedFormat g2 = { "image/jpgpng", "JPEG/PNG" }; // used by ESRI
formats << g1 << g2;
}

if ( supportedFormats.contains( "gif" ) )

1 comment on commit bcbf9dd

@palmerj

This comment has been minimized.

Copy link
Contributor

@palmerj palmerj commented on bcbf9dd Feb 26, 2014

Thanks!

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