Skip to content

Commit bcbf9dd

Browse files
committedFeb 26, 2014
wms: allow image/jpgpng (fixes #9622)
1 parent d78e05c commit bcbf9dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/providers/wms/qgswmsprovider.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2597,7 +2597,8 @@ QVector<QgsWmsSupportedFormat> QgsWmsProvider::supportedFormats()
25972597
if ( supportedFormats.contains( "png" ) && supportedFormats.contains( "jpg" ) )
25982598
{
25992599
QgsWmsSupportedFormat g1 = { "image/x-jpegorpng", "JPEG/PNG" }; // used by cubewerx
2600-
formats << g1;
2600+
QgsWmsSupportedFormat g2 = { "image/jpgpng", "JPEG/PNG" }; // used by ESRI
2601+
formats << g1 << g2;
26012602
}
26022603

26032604
if ( supportedFormats.contains( "gif" ) )

1 commit comments

Comments
 (1)

palmerj commented on Feb 26, 2014

@palmerj
Contributor

Thanks!

Please sign in to comment.