Changeset 10670 in josm for trunk/src/org/openstreetmap/josm/io/imagery
- Timestamp:
- 2016-07-29T00:02:17+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java
r10638 r10670 269 269 return ImageIO.getImageReadersByMIMEType(format).hasNext() 270 270 // handles image/tiff image/tiff8 image/geotiff image/geotiff8 271 || ( format.startsWith("image/tiff") || format.startsWith("image/geotiff"))272 && ImageIO.getImageReadersBySuffix("tiff").hasNext() 273 || format.startsWith("image/png") && ImageIO.getImageReadersBySuffix("png").hasNext()274 || format.startsWith("image/svg") && ImageIO.getImageReadersBySuffix("svg").hasNext()275 || format.startsWith("image/bmp") && ImageIO.getImageReadersBySuffix("bmp").hasNext();271 || ((format.startsWith("image/tiff") || format.startsWith("image/geotiff")) 272 && ImageIO.getImageReadersBySuffix("tiff").hasNext()) 273 || (format.startsWith("image/png") && ImageIO.getImageReadersBySuffix("png").hasNext()) 274 || (format.startsWith("image/svg") && ImageIO.getImageReadersBySuffix("svg").hasNext()) 275 || (format.startsWith("image/bmp") && ImageIO.getImageReadersBySuffix("bmp").hasNext()); 276 276 } 277 277
Note:
See TracChangeset
for help on using the changeset viewer.