Enum GoogleStaticMap.ImageFormats
Images may be returned in several common web graphics formats: GIF, JPEG and PNG. jpg and jpg-baseline typically provide the smallest image size, though they do so through "lossy" compression which may degrade the image. gif, png8 and png32 provide lossless compression. Most JPEG images are progressive, meaning that they load a coarser image earlier and refine the image resolution as more data arrives. This allows images to be loaded quickly in webpages and is the most widespread use of JPEG currently.However, some uses of JPEG(especially printing) require non-progressive(baseline) images. In such cases, you may want to use the jpg-baseline format, which is non-progressive.
Namespace:GoogleMaps
Assembly:GoogleMaps.dll
Syntax
public enum ImageFormats
Fields
Name | Description |
---|---|
Gif | Specifies the GIF format. |
Jpg | Specifies the JPEG compression format. |
JpgBaseline | Specifies a non-progressive JPEG compression format. |
Png | Specifies the 8-bit PNG format. |
Png32 | Specifies the 32-bit PNG format. |