Changes between Version 7 and Version 8 of FDORfc10
- Timestamp:
- 08/31/07 01:27:44 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc10
v7 v8 50 50 WMS Override API will accept a string instead of the enumeration for image format. It will only accept server defined format strings that contain ‘png’, ‘tiff’, ‘jpeg’ or ‘gif’ in their definitions. 51 51 52 For example, by calling SetImageFormat("image/png; PhotometricInterpretation=PaletteColor"), WMS Provider will return raster stream in palette model. And by calling SetImageFormat("image/png; PhotometricInterpretation=RGB"), the raster stream will be returned in RGB model. In this way, WMS Provider could fully make use of the server capability to support different bit-depth. These additional parameters will go into the configuration file like:53 52 For example, by calling {{{SetImageFormat("image/png; PhotometricInterpretation=PaletteColor")}}}, WMS Provider will return raster stream in palette model. And by calling {{{SetImageFormat("image/png; PhotometricInterpretation=RGB")}}}, the raster stream will be returned in RGB model. In this way, WMS Provider could fully make use of the server capability to support different bit-depth. These additional parameters will go into the configuration file like: 53 {{{ 54 54 <RasterDefinition name="Image"> 55 55 <Format>image/png;PhotometricInterpretation=PaletteColor</Format> 56 56 ... 57 57 </RasterDefinition> 58 58 }}} 59 59 However, still only four image file formats are supported: png, tiff, jpeg, and gif. If the user passed a string that contains other image formats like "bmp", "wbmp", etc, an exception will be thrown. 60 60