Changeset 18703 in josm for trunk/src


Ignore:
Timestamp:
2023-04-17T18:55:29+02:00 (12 months ago)
Author:
taylor.smock
Message:

See #22869: Add geoserver custom mimetypes

  • image/vnd.jpeg-png
  • image/vnd.jpeg-png8

Both are functionally the same, in so far as geoserver attempts to dynamically
find the "best" size between JPEG and PNG/PNG8 formats, and send that to the client.

For further details on the formats, see
https://docs.geoserver.org/latest/en/user/services/wms/outputformats.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r18568 r18703  
    550550        supportedMimeTypes.add("image/jpgpng");         // used by ESRI
    551551        supportedMimeTypes.add("image/png8");           // used by geoserver
     552        supportedMimeTypes.add("image/vnd.jpeg-png");   // used by geoserver
     553        supportedMimeTypes.add("image/vnd.jpeg-png8");  // used by geoserver
    552554        supportedMimeTypes.add("image/png; mode=8bit"); // used by MapServer
    553555        if (supportedMimeTypes.contains("image/jpeg")) {
Note: See TracChangeset for help on using the changeset viewer.