ImageFormat

Inheritance: java.lang.Object, java.lang.Enum < ImageFormat > com.aspose.pdf.ImageFormat, java.lang.Enum < ImageFormat >, com.aspose.pdf.ImageFormat

All Implemented Interfaces: Serializable, Comparable < ImageFormat >

public enum ImageFormat extends Enum < ImageFormat >

This enum represents image formats.

Fields

FieldDescription
BmpBMP format.
DicomDICOM format.
EmfEMF format.
ExifExif format.
GifGIF format.
JpegJPEG format.
MemoryBmpMemoryBmp format.
PngPNG format.
TiffTIFF format.
WmfWmf format.

Methods

MethodDescription
getByValue
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

Bmp

public static final ImageFormat Bmp

BMP format.

Dicom

public static final ImageFormat Dicom

DICOM format.

Emf

public static final ImageFormat Emf

EMF format.

Exif

public static final ImageFormat Exif

Exif format.

Gif

public static final ImageFormat Gif

GIF format.

Jpeg

public static final ImageFormat Jpeg

JPEG format.

MemoryBmp

public static final ImageFormat MemoryBmp

MemoryBmp format.

Png

public static final ImageFormat Png

PNG format.

Tiff

public static final ImageFormat Tiff

TIFF format.

Wmf

public static final ImageFormat Wmf

Wmf format.

getByValue

public static ImageFormat getByValue(int value)

Parameters:

ParameterTypeDescription
value

getValue

public int getValue()

valueOf

Returns the enum constant of this type with the specified name.

values

public static ImageFormat [] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Returns: an array containing the constants of this enum type, in the order they are declared