Changes between Version 8 and Version 9 of FDORfc10


Ignore:
Timestamp:
Aug 31, 2007, 1:30:00 AM (17 years ago)
Author:
klain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc10

    v8 v9  
    5050WMS 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.
    5151
    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:
     52For 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.
     53These additional parameters will go into the configuration file like:
    5354{{{
    5455<RasterDefinition name="Image">
     
    5960However, 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.
    6061
    61 This section outlines the necessary code changes in the unmanaged and managed code.
     62This following section outlines the necessary code changes in the unmanaged and managed code.
    6263
    6364=== Unmanaged Code ===