public enum ImageFormat extends Enum<ImageFormat>
This enum represents image formats.
Enum Constant and Description |
---|
Bmp
BMP format.
|
Dicom
DICOM format.
|
Emf
EMF format.
|
Exif
Exif format.
|
Gif
GIF format.
|
Jpeg
JPEG format.
|
MemoryBmp
MemoryBmp format.
|
Png
PNG format.
|
Tiff
TIFF format.
|
Wmf
Wmf format.
|
Modifier and Type | Method and Description |
---|---|
static ImageFormat |
getByValue(int value) |
int |
getValue() |
static ImageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageFormat Bmp
BMP format.
public static final ImageFormat Jpeg
JPEG format.
public static final ImageFormat Gif
GIF format.
public static final ImageFormat Png
PNG format.
public static final ImageFormat Tiff
TIFF format.
public static final ImageFormat Emf
EMF format.
public static final ImageFormat Dicom
DICOM format.
public static final ImageFormat MemoryBmp
MemoryBmp format.
public static final ImageFormat Wmf
Wmf format.
public static final ImageFormat Exif
Exif format.
public static ImageFormat[] values()
for (ImageFormat c : ImageFormat.values()) System.out.println(c);
public static ImageFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static ImageFormat getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.