ArcGisServerRestLayerImageFormat¶
Namespace: ThinkGeo.Core
Defines the image formats supported when requesting tiles from an ArcGis Server REST layer.
public enum ArcGisServerRestLayerImageFormat
Inheritance object → ValueType → Enum → ArcGisServerRestLayerImageFormat
Implements IComparable, IConvertible, IFormattable
Fields¶
| Name | Value | Description |
|---|---|---|
| Png | 0 | Portable Network Graphics with alpha support and automatic bit-depth selection. |
| Png8 | 1 | 8-bit PNG format with a limited color palette to minimize file size. |
| Png24 | 2 | 24-bit PNG format that preserves high-fidelity color information. |
| Jpeg | 3 | Joint Photographic Experts Group format, ideal for photo-like imagery. Requested from |
| the server as "jpg". | ||
| Gif | 4 | Graphics Interchange Format, primarily for legacy compatibility. |
| Png32 | 5 | 32-bit PNG format with an alpha channel. Use this when the server |
| may return NoData / masked-out regions and you want them rendered as | ||
| transparent instead of solid black (the default for Png/Png24). | ||
| Most ArcGIS Server configurations also require | ||
| Parameters["transparent"] = "true" for NoData to actually | ||
| come back transparent. |