public static enum Image.Format extends java.lang.Enum<Image.Format>
image data
may be produced,
as indicated by Image.dataFormat()
.Enum Constant and Description |
---|
BMP |
GIF |
JPEG |
JPX
Note that while PDFxStream can extract JPX / JPEG2000 image files from PDF documents, it
cannot decode them to provide runtime
bitmap objects. |
PNG |
TIFF |
Modifier and Type | Method and Description |
---|---|
static Image.Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Image.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Image.Format JPEG
public static final Image.Format TIFF
public static final Image.Format GIF
public static final Image.Format PNG
public static final Image.Format JPX
bitmap
objects. To work with
extracted JPEG2000 images, obtain each image's Image.data()
, and use other libraries
or external tools to decode that data to meet your requirements.public static final Image.Format BMP
public static Image.Format[] values()
for (Image.Format c : Image.Format.values()) System.out.println(c);
public static Image.Format valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null