Modifier and Type | Field and Description |
---|---|
static ImageFormat |
ImageFormat.IMAGE_FORMAT_BMP |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_GIF |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_ICO |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_JBIG2 |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_JPEG |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_PBM |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_PGM |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_PNG |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_PNM |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_PPM |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_PSD |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_TGA |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_TIFF |
static ImageFormat |
ImageFormat.IMAGE_FORMAT_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
protected abstract ImageFormat[] |
ImageParser.getAcceptedTypes() |
static ImageFormat[] |
ImageFormat.getAllFormats() |
ImageFormat |
ImageInfo.getFormat()
Returns the image file format, ie.
|
static ImageFormat |
Sanselan.guessFormat(byte[] bytes)
Tries to guess what the image type (if any) of data based on the file's
"magic numbers," the first bytes of the data.
|
static ImageFormat |
Sanselan.guessFormat(ByteSource byteSource) |
static ImageFormat |
Sanselan.guessFormat(File file)
Tries to guess what the image type (if any) of a file based on the file's
"magic numbers," the first bytes of the file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ImageParser.canAcceptType(ImageFormat type) |
static void |
Sanselan.writeImage(BufferedImage src,
File file,
ImageFormat format,
Map params)
Writes a BufferedImage to a file.
|
static void |
Sanselan.writeImage(BufferedImage src,
OutputStream os,
ImageFormat format,
Map params)
Writes a BufferedImage to an OutputStream.
|
static byte[] |
Sanselan.writeImageToBytes(BufferedImage src,
ImageFormat format,
Map params)
Writes a BufferedImage to a byte array.
|
Constructor and Description |
---|
ImageInfo(String formatDetails,
int bitsPerPixel,
ArrayList comments,
ImageFormat format,
String formatName,
int height,
String mimeType,
int numberOfImages,
int physicalHeightDpi,
float physicalHeightInch,
int physicalWidthDpi,
float physicalWidthInch,
int width,
boolean isProgressive,
boolean isTransparent,
boolean usesPalette,
int colorType,
String compressionAlgorithm) |
Modifier and Type | Method and Description |
---|---|
protected ImageFormat[] |
BmpImageParser.getAcceptedTypes() |
Modifier and Type | Method and Description |
---|---|
protected ImageFormat[] |
GifImageParser.getAcceptedTypes() |
Modifier and Type | Method and Description |
---|---|
protected ImageFormat[] |
IcoImageParser.getAcceptedTypes() |
Modifier and Type | Method and Description |
---|---|
protected ImageFormat[] |
JpegImageParser.getAcceptedTypes() |
Modifier and Type | Method and Description |
---|---|
protected ImageFormat[] |
PngImageParser.getAcceptedTypes() |
Constructor and Description |
---|
PngImageInfo(String formatDetails,
int bitsPerPixel,
ArrayList comments,
ImageFormat format,
String formatName,
int height,
String mimeType,
int numberOfImages,
int physicalHeightDpi,
float physicalHeightInch,
int physicalWidthDpi,
float physicalWidthInch,
int width,
boolean isProgressive,
boolean isTransparent,
boolean usesPalette,
int colorType,
String compressionAlgorithm,
List textChunks) |
Modifier and Type | Method and Description |
---|---|
protected ImageFormat[] |
PNMImageParser.getAcceptedTypes() |
abstract ImageFormat |
FileInfo.getImageType() |
ImageFormat |
PGMFileInfo.getImageType() |
ImageFormat |
PPMFileInfo.getImageType() |
ImageFormat |
PBMFileInfo.getImageType() |
Modifier and Type | Method and Description |
---|---|
protected ImageFormat[] |
PsdImageParser.getAcceptedTypes() |
Modifier and Type | Method and Description |
---|---|
protected ImageFormat[] |
TiffImageParser.getAcceptedTypes() |
Copyright © 2007-2012. All Rights Reserved.