public final enum

ImageFormat

extends Enum<ImageFormat>
java.lang.Object
   ↳ java.lang.Enum<com.esri.core.map.ImageFormat>
     ↳ com.esri.core.map.ImageFormat

Class Overview

The format of the exported image. The default format is JPG_PNG.

Values: jpgpng | png | png8 | png24 | jpg | bmp | gif | tiff | png32

Summary

Enum Values
ImageFormat  BMP  Image format: bmp  
ImageFormat  GIF  Image format: gif  
ImageFormat  JPG  Image format: jpg  
ImageFormat  JPG_PNG  The default image format. 
ImageFormat  PNG  Image format: png  
ImageFormat  PNG24  24-bit PNG format  
ImageFormat  PNG32  32-bit PNG format  
ImageFormat  PNG8  8-bit PNG format  
ImageFormat  TIFF  Image format: tiff  
Public Methods
static ImageFormat fromString(String str)
Returns the image format whose name matches the input; null if there is no match.
String toString()
static ImageFormat valueOf(String name)
static final ImageFormat[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ImageFormat BMP

Image format: bmp

public static final ImageFormat GIF

Image format: gif

public static final ImageFormat JPG

Image format: jpg

public static final ImageFormat JPG_PNG

The default image format. This format returns a JPG if there are no transparent pixels in the requested extent, otherwise it returns a PNG.

public static final ImageFormat PNG

Image format: png

public static final ImageFormat PNG24

24-bit PNG format

public static final ImageFormat PNG32

32-bit PNG format

public static final ImageFormat PNG8

8-bit PNG format

public static final ImageFormat TIFF

Image format: tiff

Public Methods

public static ImageFormat fromString (String str)

Returns the image format whose name matches the input; null if there is no match.

Parameters
str String: input string to match the image format.
Returns
ImageFormat corresponding image format, null if none; match is case-sensitive.

public String toString ()

Returns
String

public static ImageFormat valueOf (String name)

Parameters
name String
Returns
ImageFormat

public static final ImageFormat[] values ()

Returns
ImageFormat[]