Skip to content

Commit

Permalink
wms: allow image/jpgpng (fixes #9622)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 26, 2014
1 parent d78e05c commit bcbf9dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/wms/qgswmsprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" ) )
Expand Down

1 comment on commit bcbf9dd

@palmerj
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.