Modifier and Type | Method and Description |
---|---|
void |
FormatCompliance.addComment(String comment) |
void |
FormatCompliance.addComment(String comment,
int value) |
boolean |
FormatCompliance.checkBounds(String name,
int min,
int max,
int actual) |
boolean |
FormatCompliance.compare(String name,
int[] valid,
int actual) |
boolean |
FormatCompliance.compare(String name,
int valid,
int actual) |
boolean |
FormatCompliance.compareBytes(String name,
byte[] expected,
byte[] actual) |
BufferedImage |
ColorTools.correctImage(BufferedImage src,
File file) |
String |
ImageParser.dumpImageFile(byte[] bytes)
Write the ImageInfo and format-specific information for the image
content of the specified byte array to a string.
|
static String |
Imaging.dumpImageFile(byte[] bytes)
Write the ImageInfo and format-specific information for the image
content of the specified byte array to a string.
|
String |
ImageParser.dumpImageFile(ByteSource byteSource)
Write the ImageInfo and format-specific information for the image
content of the specified byte source to a string.
|
String |
ImageParser.dumpImageFile(File file)
Write the ImageInfo and format-specific information for the image
content of the specified file to a string.
|
static String |
Imaging.dumpImageFile(File file)
Write the ImageInfo and format-specific information for the image
content of the specified file to a string.
|
boolean |
ImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource)
Write the ImageInfo and format-specific information for the image
content of the specified byte source to a PrintWriter
|
List<BufferedImage> |
ImageParser.getAllBufferedImages(byte[] bytes)
Gets all images specified by the byte array (some
formats may include multiple images within a single data source).
|
static List<BufferedImage> |
Imaging.getAllBufferedImages(byte[] bytes)
Gets all images specified by the byte array (some
formats may include multiple images within a single data source).
|
List<BufferedImage> |
ImageParser.getAllBufferedImages(ByteSource byteSource)
Gets all images specified by the byte source (some
formats may include multiple images within a single data source).
|
List<BufferedImage> |
ImageParser.getAllBufferedImages(File file)
Gets all images specified by indicated file (some
formats may include multiple images within a single data source).
|
static List<BufferedImage> |
Imaging.getAllBufferedImages(File file)
Gets all images specified by the file (some
formats may include multiple images within a single data source).
|
static List<BufferedImage> |
Imaging.getAllBufferedImages(InputStream is,
String fileName)
Gets all images specified by the InputStream (some
formats may include multiple images within a single data source).
|
static BufferedImage |
Imaging.getBufferedImage(byte[] bytes)
Reads the first image from a byte array.
|
BufferedImage |
ImageParser.getBufferedImage(byte[] bytes,
Map<String,Object> params)
Gets a buffered image specified by the byte array (for
sources that specify multiple images, choice of which image
is returned is implementation dependent).
|
static BufferedImage |
Imaging.getBufferedImage(byte[] bytes,
Map<String,Object> params)
Reads the first image from a byte array
using data-processing options specified through a parameters
map.
|
abstract BufferedImage |
ImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params)
Gets a buffered image specified by the byte source (for
sources that specify multiple images, choice of which image
is returned is implementation dependent).
|
static BufferedImage |
Imaging.getBufferedImage(File file)
Reads the first image from a file.
|
BufferedImage |
ImageParser.getBufferedImage(File file,
Map<String,Object> params)
Gets a buffered image specified by the indicated file (for
sources that specify multiple images, choice of which image
is returned is implementation dependent).
|
static BufferedImage |
Imaging.getBufferedImage(File file,
Map<String,Object> params)
Reads the first image from a file
using data-processing options specified through a parameters
map.
|
static BufferedImage |
Imaging.getBufferedImage(InputStream is)
Reads the first image from an InputStream.
|
static BufferedImage |
Imaging.getBufferedImage(InputStream is,
Map<String,Object> params)
Reads the first image from an InputStream
using data-processing options specified through a parameters
map.
|
FormatCompliance |
ImageParser.getFormatCompliance(byte[] bytes)
Determines the format compliance of the content of the supplied byte
array based on rules provided by a specific implementation.
|
static FormatCompliance |
Imaging.getFormatCompliance(byte[] bytes)
Attempts to determine the image format of the specified data and
evaluates its format compliance.
|
FormatCompliance |
ImageParser.getFormatCompliance(ByteSource byteSource)
Determines the format compliance of the content of the supplied byte
source based on rules provided by a specific implementation.
|
FormatCompliance |
ImageParser.getFormatCompliance(File file)
Determines the format compliance of the specified file based on
rules provided by a specific implementation.
|
static FormatCompliance |
Imaging.getFormatCompliance(File file)
Attempts to determine the image format of the specified data and
evaluates its format compliance.
|
static ICC_Profile |
Imaging.getICCProfile(byte[] bytes)
Extracts an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and
TIFF images.
|
static ICC_Profile |
Imaging.getICCProfile(byte[] bytes,
Map<String,Object> params)
Extracts an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and
TIFF images.
|
protected static ICC_Profile |
Imaging.getICCProfile(ByteSource byteSource,
Map<String,Object> params) |
static ICC_Profile |
Imaging.getICCProfile(File file)
Extracts an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and
TIFF images.
|
static ICC_Profile |
Imaging.getICCProfile(File file,
Map<String,Object> params)
Extracts an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and
TIFF images.
|
static ICC_Profile |
Imaging.getICCProfile(InputStream is,
String fileName)
Extracts an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and
TIFF images.
|
static ICC_Profile |
Imaging.getICCProfile(InputStream is,
String fileName,
Map<String,Object> params)
Extracts an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and
TIFF images.
|
byte[] |
ImageParser.getICCProfileBytes(byte[] bytes)
Get an array of bytes describing the International Color Consortium (ICC)
specification for the color space of the image contained in the
input byte array.
|
static byte[] |
Imaging.getICCProfileBytes(byte[] bytes)
Extracts the raw bytes of an ICC Profile (if present) from JPEG, PNG, PSD
(Photoshop) and TIFF images.
|
byte[] |
ImageParser.getICCProfileBytes(byte[] bytes,
Map<String,Object> params)
Get an array of bytes describing the International Color Consortium (ICC)
specification for the color space of the image contained in the
input byte array.
|
static byte[] |
Imaging.getICCProfileBytes(byte[] bytes,
Map<String,Object> params)
Extracts the raw bytes of an ICC Profile (if present) from JPEG, PNG, PSD
(Photoshop) and TIFF images.
|
abstract byte[] |
ImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params)
Get an array of bytes describing the International Color Consortium (ICC)
specification for the color space of the image contained in the
input byteSource.
|
byte[] |
ImageParser.getICCProfileBytes(File file)
Get an array of bytes describing the International Color Consortium (ICC)
specification for the color space of the image contained in the
input file.
|
static byte[] |
Imaging.getICCProfileBytes(File file)
Extracts the raw bytes of an ICC Profile (if present) from JPEG, PNG, PSD
(Photoshop) and TIFF images.
|
byte[] |
ImageParser.getICCProfileBytes(File file,
Map<String,Object> params)
Get an array of bytes describing the International Color Consortium (ICC)
specification for the color space of the image contained in the
input file.
|
static byte[] |
Imaging.getICCProfileBytes(File file,
Map<String,Object> params)
Extracts the raw bytes of an ICC Profile (if present) from JPEG, PNG, PSD
(Photoshop) and TIFF images.
|
static ImageInfo |
Imaging.getImageInfo(byte[] bytes)
Parses the "image info" of an image.
|
ImageInfo |
ImageParser.getImageInfo(byte[] bytes,
Map<String,Object> params)
Get image information from the specified array of bytes.
|
static ImageInfo |
Imaging.getImageInfo(byte[] bytes,
Map<String,Object> params)
Parses the "image info" of an image.
|
ImageInfo |
ImageParser.getImageInfo(ByteSource byteSource)
Get image information from the specified ByteSource.
|
abstract ImageInfo |
ImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params)
Get image information from the specified ByteSource.
|
static ImageInfo |
Imaging.getImageInfo(File file)
Parses the "image info" of an image file.
|
ImageInfo |
ImageParser.getImageInfo(File file,
Map<String,Object> params)
Get image information from the specified file Format-specific
ImageParser implementations are expected to return a valid
ImageInfo object or to throw an ImageReadException if unable
to process the specified data.
|
static ImageInfo |
Imaging.getImageInfo(File file,
Map<String,Object> params)
Parses the "image info" of an image file.
|
static ImageInfo |
Imaging.getImageInfo(InputStream is,
String fileName)
Parses the "image info" of an image.
|
static ImageInfo |
Imaging.getImageInfo(InputStream is,
String fileName,
Map<String,Object> params)
Parses the "image info" of an image.
|
static ImageInfo |
Imaging.getImageInfo(String fileName,
byte[] bytes)
Parses the "image info" of an image.
|
static ImageInfo |
Imaging.getImageInfo(String fileName,
byte[] bytes,
Map<String,Object> params)
Parses the "image info" of an image.
|
Dimension |
ImageParser.getImageSize(byte[] bytes)
Get the size of the image described by the specified byte array.
|
static Dimension |
Imaging.getImageSize(byte[] bytes)
Determines the width and height of an image.
|
Dimension |
ImageParser.getImageSize(byte[] bytes,
Map<String,Object> params)
Get the size of the image described by the specified byte array.
|
static Dimension |
Imaging.getImageSize(byte[] bytes,
Map<String,Object> params)
Determines the width and height of an image.
|
abstract Dimension |
ImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params)
Get the size of the image described by the specified ByteSource.
|
static Dimension |
Imaging.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
ImageParser.getImageSize(File file)
Get the size of the image described by the specified file.
|
static Dimension |
Imaging.getImageSize(File file)
Determines the width and height of an image file.
|
Dimension |
ImageParser.getImageSize(File file,
Map<String,Object> params)
Get the size of the image described by the specified file.
|
static Dimension |
Imaging.getImageSize(File file,
Map<String,Object> params)
Determines the width and height of an image file.
|
static Dimension |
Imaging.getImageSize(InputStream is,
String fileName)
Determines the width and height of an image.
|
static Dimension |
Imaging.getImageSize(InputStream is,
String fileName,
Map<String,Object> params)
Determines the width and height of an image.
|
ImageMetadata |
ImageParser.getMetadata(byte[] bytes)
Get image metadata from the specified array of bytes.
|
static ImageMetadata |
Imaging.getMetadata(byte[] bytes)
Parses the metadata of an image.
|
ImageMetadata |
ImageParser.getMetadata(byte[] bytes,
Map<String,Object> params)
Get image metadata from the specified array of bytes.
|
static ImageMetadata |
Imaging.getMetadata(byte[] bytes,
Map<String,Object> params)
Parses the metadata of an image.
|
ImageMetadata |
ImageParser.getMetadata(ByteSource byteSource)
Get image metadata from the specified byte source.
|
abstract ImageMetadata |
ImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params)
Get image metadata from the specified byte source.
|
ImageMetadata |
ImageParser.getMetadata(File file)
Get image metadata from the specified file.
|
static ImageMetadata |
Imaging.getMetadata(File file)
Parses the metadata of an image file.
|
ImageMetadata |
ImageParser.getMetadata(File file,
Map<String,Object> params)
Get image metadata from the specified file.
|
static ImageMetadata |
Imaging.getMetadata(File file,
Map<String,Object> params)
Parses the metadata of an image file.
|
static ImageMetadata |
Imaging.getMetadata(InputStream is,
String fileName)
Parses the metadata of an image file.
|
static ImageMetadata |
Imaging.getMetadata(InputStream is,
String fileName,
Map<String,Object> params)
Parses the metadata of an image file.
|
static String |
Imaging.getXmpXml(byte[] bytes)
Extracts the embedded XML metadata as an XML string.
|
static String |
Imaging.getXmpXml(byte[] bytes,
Map<String,Object> params)
Extracts the embedded XML metadata as an XML string.
|
static String |
Imaging.getXmpXml(ByteSource byteSource,
Map<String,Object> params)
Extracts the embedded XML metadata as an XML string.
|
static String |
Imaging.getXmpXml(File file)
Extracts the embedded XML metadata as an XML string.
|
static String |
Imaging.getXmpXml(File file,
Map<String,Object> params)
Extracts the embedded XML metadata as an XML string.
|
static String |
Imaging.getXmpXml(InputStream is,
String fileName)
Extracts the embedded XML metadata as an XML string.
|
static String |
Imaging.getXmpXml(InputStream is,
String fileName,
Map<String,Object> params)
Extracts the embedded XML metadata as an XML string.
|
static ImageFormat |
Imaging.guessFormat(byte[] bytes)
Attempts to determine the image format of a file based on its
"magic numbers," the first bytes of the data.
|
static ImageFormat |
Imaging.guessFormat(ByteSource byteSource)
Attempts to determine the image format of a file based on its
"magic numbers," the first bytes of the data.
|
static ImageFormat |
Imaging.guessFormat(File file)
Attempts to determine the image format of a file based on its
"magic numbers," the first bytes of the data.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
PackBits.decompress(byte[] bytes,
int expected) |
static byte[] |
ZlibDeflate.decompress(byte[] bytes,
int expectedSize)
Compress the byte[] using ZLIB deflate decompression.
|
String |
XmpEmbeddable.getXmpXml(ByteSource byteSource,
Map<String,Object> params)
Get a string containing XML-formatted text conforming to the Extensible
Metadata Platform (EXP) standard for representing information about
image content.
|
String |
BasicCParser.nextToken() |
static ByteArrayOutputStream |
BasicCParser.preprocess(InputStream is,
StringBuilder firstComment,
Map<String,String> defines) |
static void |
BinaryFunctions.readAndVerifyBytes(InputStream is,
BinaryConstant expected,
String exception) |
static void |
BinaryFunctions.readAndVerifyBytes(InputStream is,
byte[] expected,
String exception) |
static void |
BasicCParser.unescapeString(StringBuilder stringBuilder,
String string) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
T4AndT6Compression.decompressModifiedHuffman(byte[] compressed,
int width,
int height)
Decompresses the "Modified Huffman" encoding of section 10 in the TIFF6
specification.
|
static byte[] |
T4AndT6Compression.decompressT4_1D(byte[] compressed,
int width,
int height,
boolean hasFill)
Decompresses T.4 1D encoded data.
|
static byte[] |
T4AndT6Compression.decompressT4_2D(byte[] compressed,
int width,
int height,
boolean hasFill)
Decompressed T.4 2D encoded data.
|
static byte[] |
T4AndT6Compression.decompressT6(byte[] compressed,
int width,
int height)
Decompress T.6 encoded data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BmpImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
BufferedImage |
BmpImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
BufferedImage |
BmpImageParser.getBufferedImage(InputStream inputStream,
Map<String,Object> params) |
FormatCompliance |
BmpImageParser.getFormatCompliance(ByteSource byteSource) |
byte[] |
BmpImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
BmpImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
BmpImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
BmpImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
boolean |
DcxImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
List<BufferedImage> |
DcxImageParser.getAllBufferedImages(ByteSource byteSource) |
BufferedImage |
DcxImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
DcxImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
DcxImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
DcxImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
DcxImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
boolean |
GifImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
List<BufferedImage> |
GifImageParser.getAllBufferedImages(ByteSource byteSource) |
BufferedImage |
GifImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
FormatCompliance |
GifImageParser.getFormatCompliance(ByteSource byteSource) |
byte[] |
GifImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
GifImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
GifImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
GifImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
String |
GifImageParser.getXmpXml(ByteSource byteSource,
Map<String,Object> params)
Extracts embedded XML metadata as XML string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IcnsImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
List<BufferedImage> |
IcnsImageParser.getAllBufferedImages(ByteSource byteSource) |
BufferedImage |
IcnsImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
IcnsImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
IcnsImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
IcnsImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
IcnsImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
boolean |
IcoImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
List<BufferedImage> |
IcoImageParser.getAllBufferedImages(ByteSource byteSource) |
BufferedImage |
IcoImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
IcoImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
IcoImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
IcoImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
IcoImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
boolean |
JpegImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
void |
JpegUtils.dumpJFIF(ByteSource byteSource) |
BufferedImage |
JpegImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
TiffImageMetadata |
JpegImageParser.getExifMetadata(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
JpegImageParser.getExifRawData(ByteSource byteSource) |
BufferedImage |
JpegImageMetadata.getEXIFThumbnail()
Get the thumbnail image if available.
|
byte[] |
JpegImageMetadata.getEXIFThumbnailData()
Returns the data of the first JPEG thumbnail found in the EXIF metadata.
|
Dimension |
JpegImageMetadata.getEXIFThumbnailSize()
Returns the size of the first JPEG thumbnail found in the EXIF metadata.
|
byte[] |
JpegImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
JpegImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
JpegImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
JpegImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
JpegPhotoshopMetadata |
JpegImageParser.getPhotoshopMetadata(ByteSource byteSource,
Map<String,Object> params) |
String |
JpegImageParser.getXmpXml(ByteSource byteSource,
Map<String,Object> params)
Extracts embedded XML metadata as XML string.
|
boolean |
JpegImageParser.hasExifSegment(ByteSource byteSource) |
boolean |
JpegImageParser.hasIptcSegment(ByteSource byteSource) |
boolean |
JpegImageParser.hasXmpSegment(ByteSource byteSource) |
List<Segment> |
JpegImageParser.readSegments(ByteSource byteSource,
int[] markers,
boolean returnAfterFirst) |
List<Segment> |
JpegImageParser.readSegments(ByteSource byteSource,
int[] markers,
boolean returnAfterFirst,
boolean readEverything) |
void |
JpegUtils.traverseJFIF(ByteSource byteSource,
JpegUtils.Visitor visitor) |
boolean |
JpegUtils.Visitor.visitSegment(int marker,
byte[] markerBytes,
int segmentLength,
byte[] segmentLengthBytes,
byte[] segmentData) |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
JpegDecoder.decode(ByteSource byteSource) |
boolean |
JpegDecoder.visitSegment(int marker,
byte[] markerBytes,
int segmentLength,
byte[] segmentLengthBytes,
byte[] segmentData) |
Modifier and Type | Method and Description |
---|---|
void |
ExifRewriter.removeExifMetadata(byte[] src,
OutputStream os)
Reads a Jpeg image, removes all EXIF metadata (by removing the APP1
segment), and writes the result to a stream.
|
void |
ExifRewriter.removeExifMetadata(ByteSource byteSource,
OutputStream os)
Reads a Jpeg image, removes all EXIF metadata (by removing the APP1
segment), and writes the result to a stream.
|
void |
ExifRewriter.removeExifMetadata(File src,
OutputStream os)
Reads a Jpeg image, removes all EXIF metadata (by removing the APP1
segment), and writes the result to a stream.
|
void |
ExifRewriter.removeExifMetadata(InputStream src,
OutputStream os)
Reads a Jpeg image, removes all EXIF metadata (by removing the APP1
segment), and writes the result to a stream.
|
void |
ExifRewriter.updateExifMetadataLossless(byte[] src,
OutputStream os,
TiffOutputSet outputSet)
Reads a Jpeg image, replaces the EXIF metadata and writes the result to a
stream.
|
void |
ExifRewriter.updateExifMetadataLossless(ByteSource byteSource,
OutputStream os,
TiffOutputSet outputSet)
Reads a Jpeg image, replaces the EXIF metadata and writes the result to a
stream.
|
void |
ExifRewriter.updateExifMetadataLossless(File src,
OutputStream os,
TiffOutputSet outputSet)
Reads a Jpeg image, replaces the EXIF metadata and writes the result to a
stream.
|
void |
ExifRewriter.updateExifMetadataLossless(InputStream src,
OutputStream os,
TiffOutputSet outputSet)
Reads a Jpeg image, replaces the EXIF metadata and writes the result to a
stream.
|
void |
ExifRewriter.updateExifMetadataLossy(byte[] src,
OutputStream os,
TiffOutputSet outputSet)
Reads a Jpeg image, replaces the EXIF metadata and writes the result to a
stream.
|
void |
ExifRewriter.updateExifMetadataLossy(ByteSource byteSource,
OutputStream os,
TiffOutputSet outputSet)
Reads a Jpeg image, replaces the EXIF metadata and writes the result to a
stream.
|
void |
ExifRewriter.updateExifMetadataLossy(File src,
OutputStream os,
TiffOutputSet outputSet)
Reads a Jpeg image, replaces the EXIF metadata and writes the result to a
stream.
|
void |
ExifRewriter.updateExifMetadataLossy(InputStream src,
OutputStream os,
TiffOutputSet outputSet)
Reads a Jpeg image, replaces the EXIF metadata and writes the result to a
stream.
|
Modifier and Type | Method and Description |
---|---|
protected List<IptcBlock> |
IptcParser.parseAllBlocks(byte[] bytes,
boolean strict) |
PhotoshopApp13Data |
IptcParser.parsePhotoshopSegment(byte[] bytes,
boolean strict) |
PhotoshopApp13Data |
IptcParser.parsePhotoshopSegment(byte[] bytes,
Map<String,Object> params) |
void |
JpegIptcRewriter.removeIPTC(byte[] src,
OutputStream os)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
JpegIptcRewriter.removeIPTC(byte[] src,
OutputStream os,
boolean removeSegment)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged (unless
removeSegment is true) and writes the result to a stream.
|
void |
JpegIptcRewriter.removeIPTC(ByteSource byteSource,
OutputStream os)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
JpegIptcRewriter.removeIPTC(ByteSource byteSource,
OutputStream os,
boolean removeSegment)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged (unless
removeSegment is true) and writes the result to a stream.
|
void |
JpegIptcRewriter.removeIPTC(File src,
OutputStream os)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
JpegIptcRewriter.removeIPTC(File src,
OutputStream os,
boolean removeSegment)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged (unless
removeSegment is true) and writes the result to a stream.
|
void |
JpegIptcRewriter.removeIPTC(InputStream src,
OutputStream os)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
JpegIptcRewriter.removeIPTC(InputStream src,
OutputStream os,
boolean removeSegment)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged (unless
removeSegment is true) and writes the result to a stream.
|
void |
JpegIptcRewriter.writeIPTC(byte[] src,
OutputStream os,
PhotoshopApp13Data newData)
Reads a Jpeg image, replaces the IPTC data in the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
JpegIptcRewriter.writeIPTC(ByteSource byteSource,
OutputStream os,
PhotoshopApp13Data newData)
Reads a Jpeg image, replaces the IPTC data in the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
JpegIptcRewriter.writeIPTC(File src,
OutputStream os,
PhotoshopApp13Data newData)
Reads a Jpeg image, replaces the IPTC data in the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
JpegIptcRewriter.writeIPTC(InputStream src,
OutputStream os,
PhotoshopApp13Data newData)
Reads a Jpeg image, replaces the IPTC data in the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
Modifier and Type | Method and Description |
---|---|
PhotoshopApp13Data |
App13Segment.parsePhotoshopSegment(Map<String,Object> params) |
Constructor and Description |
---|
App2Segment(int marker,
byte[] segmentData) |
App2Segment(int marker,
int markerLength,
InputStream is2) |
DqtSegment(int marker,
byte[] segmentData) |
DqtSegment(int marker,
int length,
InputStream is) |
JfifSegment(int marker,
byte[] segmentData) |
JfifSegment(int marker,
int markerLength,
InputStream is) |
Modifier and Type | Method and Description |
---|---|
protected JpegRewriter.JFIFPieces |
JpegRewriter.analyzeJFIF(ByteSource byteSource) |
String |
JpegXmpParser.parseXmpJpegSegment(byte[] segmentData) |
void |
JpegXmpRewriter.removeXmpXml(byte[] src,
OutputStream os)
Reads a Jpeg image, removes all XMP XML (by removing the APP1 segment),
and writes the result to a stream.
|
void |
JpegXmpRewriter.removeXmpXml(ByteSource byteSource,
OutputStream os)
Reads a Jpeg image, removes all XMP XML (by removing the APP1 segment),
and writes the result to a stream.
|
void |
JpegXmpRewriter.removeXmpXml(File src,
OutputStream os)
Reads a Jpeg image, removes all XMP XML (by removing the APP1 segment),
and writes the result to a stream.
|
void |
JpegXmpRewriter.removeXmpXml(InputStream src,
OutputStream os)
Reads a Jpeg image, removes all XMP XML (by removing the APP1 segment),
and writes the result to a stream.
|
void |
JpegXmpRewriter.updateXmpXml(byte[] src,
OutputStream os,
String xmpXml)
Reads a Jpeg image, replaces the XMP XML and writes the result to a
stream.
|
void |
JpegXmpRewriter.updateXmpXml(ByteSource byteSource,
OutputStream os,
String xmpXml)
Reads a Jpeg image, replaces the XMP XML and writes the result to a
stream.
|
void |
JpegXmpRewriter.updateXmpXml(File src,
OutputStream os,
String xmpXml)
Reads a Jpeg image, replaces the XMP XML and writes the result to a
stream.
|
void |
JpegXmpRewriter.updateXmpXml(InputStream src,
OutputStream os,
String xmpXml)
Reads a Jpeg image, replaces the XMP XML and writes the result to a
stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PcxImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
BufferedImage |
PcxImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
PcxImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
PcxImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
PcxImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
PcxImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
boolean |
PngImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
BufferedImage |
PngImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
List<String> |
PngImageParser.getChunkTypes(InputStream is) |
byte[] |
PngImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
PngImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
PngImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
PngImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
String |
PngImageParser.getXmpXml(ByteSource byteSource,
Map<String,Object> params) |
boolean |
PngImageParser.hasChunkType(ByteSource byteSource,
ChunkType chunkType) |
void |
PngImageParser.readSignature(InputStream is) |
Modifier and Type | Method and Description |
---|---|
boolean |
PnmImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
BufferedImage |
PnmImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
PnmImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
PnmImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
PnmImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
PnmImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
boolean |
PsdImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
BufferedImage |
PsdImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
PsdImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
PsdImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
PsdImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
PsdImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
String |
PsdImageParser.getXmpXml(ByteSource byteSource,
Map<String,Object> params)
Extracts embedded XML metadata as XML string.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
RgbeImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
RgbeImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
RgbeImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
RgbeImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
RgbeImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
List<byte[]> |
TiffImageParser.collectRawImageData(ByteSource byteSource,
Map<String,Object> params) |
void |
TiffContents.dissect() |
boolean |
TiffImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
TiffField |
TiffDirectory.findField(TagInfo tag) |
TiffField |
TiffImageMetadata.findField(TagInfo tagInfo) |
TiffField |
TiffImageMetadata.Directory.findField(TagInfo tagInfo) |
TiffField |
TiffContents.findField(TagInfo tag) |
TiffField |
TiffDirectory.findField(TagInfo tag,
boolean failIfMissing) |
TiffField |
TiffImageMetadata.findField(TagInfo tagInfo,
boolean exactDirectoryMatch) |
List<BufferedImage> |
TiffImageParser.getAllBufferedImages(ByteSource byteSource) |
BufferedImage |
TiffImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params)
Gets a buffered image specified by the byte source.
|
protected BufferedImage |
TiffImageParser.getBufferedImage(TiffDirectory directory,
ByteOrder byteOrder,
Map<String,Object> params) |
abstract ImageDataReader |
TiffImageData.getDataReader(TiffDirectory directory,
PhotometricInterpreter photometricInterpreter,
int bitsPerPixel,
int[] bitsPerSample,
int predictor,
int samplesPerPixel,
int width,
int height,
int compression,
ByteOrder byteOrder) |
ImageDataReader |
TiffImageData.Tiles.getDataReader(TiffDirectory directory,
PhotometricInterpreter photometricInterpreter,
int bitsPerPixel,
int[] bitsPerSample,
int predictor,
int samplesPerPixel,
int width,
int height,
int compression,
ByteOrder byteOrder) |
ImageDataReader |
TiffImageData.Strips.getDataReader(TiffDirectory directory,
PhotometricInterpreter photometricInterpreter,
int bitsPerPixel,
int[] bitsPerSample,
int predictor,
int samplesPerPixel,
int width,
int height,
int compression,
ByteOrder byteorder) |
double[] |
TiffField.getDoubleArrayValue() |
double |
TiffField.getDoubleValue() |
List<TiffElement> |
TiffContents.getElements() |
Object |
TiffDirectory.getFieldValue(TagInfo tag) |
Object |
TiffImageMetadata.getFieldValue(TagInfo tag) |
String[] |
TiffImageMetadata.getFieldValue(TagInfoAscii tag) |
String[] |
TiffDirectory.getFieldValue(TagInfoAscii tag,
boolean mustExist) |
byte |
TiffDirectory.getFieldValue(TagInfoByte tag) |
byte[] |
TiffImageMetadata.getFieldValue(TagInfoByte tag) |
byte[] |
TiffDirectory.getFieldValue(TagInfoBytes tag,
boolean mustExist) |
double |
TiffDirectory.getFieldValue(TagInfoDouble tag) |
double[] |
TiffImageMetadata.getFieldValue(TagInfoDoubles tag) |
double[] |
TiffDirectory.getFieldValue(TagInfoDoubles tag,
boolean mustExist) |
float |
TiffDirectory.getFieldValue(TagInfoFloat tag) |
float[] |
TiffImageMetadata.getFieldValue(TagInfoFloats tag) |
float[] |
TiffDirectory.getFieldValue(TagInfoFloats tag,
boolean mustExist) |
String |
TiffImageMetadata.getFieldValue(TagInfoGpsText tag) |
String |
TiffDirectory.getFieldValue(TagInfoGpsText tag,
boolean mustExist) |
int |
TiffDirectory.getFieldValue(TagInfoLong tag) |
int[] |
TiffImageMetadata.getFieldValue(TagInfoLongs tag) |
int[] |
TiffDirectory.getFieldValue(TagInfoLongs tag,
boolean mustExist) |
RationalNumber |
TiffDirectory.getFieldValue(TagInfoRational tag) |
RationalNumber[] |
TiffImageMetadata.getFieldValue(TagInfoRationals tag) |
RationalNumber[] |
TiffDirectory.getFieldValue(TagInfoRationals tag,
boolean mustExist) |
byte |
TiffDirectory.getFieldValue(TagInfoSByte tag) |
byte[] |
TiffImageMetadata.getFieldValue(TagInfoSBytes tag) |
byte[] |
TiffDirectory.getFieldValue(TagInfoSBytes tag,
boolean mustExist) |
short |
TiffDirectory.getFieldValue(TagInfoShort tag) |
int[] |
TiffDirectory.getFieldValue(TagInfoShortOrLong tag,
boolean mustExist) |
short[] |
TiffImageMetadata.getFieldValue(TagInfoShorts tag) |
short[] |
TiffDirectory.getFieldValue(TagInfoShorts tag,
boolean mustExist) |
int |
TiffDirectory.getFieldValue(TagInfoSLong tag) |
int[] |
TiffImageMetadata.getFieldValue(TagInfoSLongs tag) |
int[] |
TiffDirectory.getFieldValue(TagInfoSLongs tag,
boolean mustExist) |
RationalNumber |
TiffDirectory.getFieldValue(TagInfoSRational tag) |
RationalNumber[] |
TiffImageMetadata.getFieldValue(TagInfoSRationals tag) |
RationalNumber[] |
TiffDirectory.getFieldValue(TagInfoSRationals tag,
boolean mustExist) |
short |
TiffDirectory.getFieldValue(TagInfoSShort tag) |
short[] |
TiffImageMetadata.getFieldValue(TagInfoSShorts tag) |
short[] |
TiffDirectory.getFieldValue(TagInfoSShorts tag,
boolean mustExist) |
String |
TiffImageMetadata.getFieldValue(TagInfoXpString tag) |
String |
TiffDirectory.getFieldValue(TagInfoXpString tag,
boolean mustExist) |
TiffRasterData |
TiffDirectory.getFloatingPointRasterData(Map<String,Object> params)
Reads the floating-point data stored in this TIFF directory, if
available.
|
FormatCompliance |
TiffImageParser.getFormatCompliance(ByteSource byteSource) |
TiffImageMetadata.GPSInfo |
TiffImageMetadata.getGPS() |
byte[] |
TiffImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
TiffImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
TiffImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
int[] |
TiffField.getIntArrayValue() |
int |
TiffField.getIntValue() |
int |
TiffField.getIntValueOrArraySum() |
TiffDirectory.ImageDataElement |
TiffDirectory.getJpegRawImageDataElement() |
double |
TiffImageMetadata.GPSInfo.getLatitudeAsDegreesNorth() |
double |
TiffImageMetadata.GPSInfo.getLongitudeAsDegreesEast() |
ImageMetadata |
TiffImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
String |
TiffDirectory.getSingleFieldValue(TagInfoAscii tag) |
int |
TiffDirectory.getSingleFieldValue(TagInfoShortOrLong tag) |
String |
TiffField.getStringValue() |
BufferedImage |
TiffImageMetadata.Directory.getThumbnail() |
BufferedImage |
TiffDirectory.getTiffImage()
Gets the image associated with the directory, if any.
|
BufferedImage |
TiffDirectory.getTiffImage(ByteOrder byteOrder)
Gets the image associated with the directory, if any.
|
BufferedImage |
TiffDirectory.getTiffImage(ByteOrder byteOrder,
Map<String,Object> params)
Gets the image associated with the directory, if any.
|
BufferedImage |
TiffDirectory.getTiffImage(Map<String,Object> params)
Gets the image associated with the directory, if any.
|
List<TiffDirectory.ImageDataElement> |
TiffDirectory.getTiffRawImageDataElements() |
Object |
TiffField.getValue() |
String |
TiffImageParser.getXmpXml(ByteSource byteSource,
Map<String,Object> params) |
boolean |
TiffDirectory.hasJpegImageData() |
boolean |
TiffDirectory.hasTiffFloatingPointRasterData()
Indicates whether the directory definition specifies a float-point data
format.
|
boolean |
TiffDirectory.hasTiffImageData() |
boolean |
TiffDirectory.imageDataInStrips() |
void |
TiffReader.read(ByteSource byteSource,
Map<String,Object> params,
FormatCompliance formatCompliance,
TiffReader.Listener listener) |
TiffContents |
TiffReader.readContents(ByteSource byteSource,
Map<String,Object> params,
FormatCompliance formatCompliance) |
TiffContents |
TiffReader.readDirectories(ByteSource byteSource,
boolean readImageData,
FormatCompliance formatCompliance) |
TiffContents |
TiffReader.readFirstDirectory(ByteSource byteSource,
Map<String,Object> params,
boolean readImageData,
FormatCompliance formatCompliance) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
ImageDataReader.decompress(byte[] compressedInput,
int compression,
int expectedSize,
int tileWidth,
int tileHeight) |
void |
DataReaderTiled.readImageData(ImageBuilder imageBuilder) |
abstract void |
ImageDataReader.readImageData(ImageBuilder imageBuilder) |
void |
DataReaderStrips.readImageData(ImageBuilder imageBuilder) |
BufferedImage |
DataReaderTiled.readImageData(Rectangle subImage) |
abstract BufferedImage |
ImageDataReader.readImageData(Rectangle subImage) |
BufferedImage |
DataReaderStrips.readImageData(Rectangle subImage) |
TiffRasterData |
DataReaderTiled.readRasterData(Rectangle subImage) |
abstract TiffRasterData |
ImageDataReader.readRasterData(Rectangle subImage)
Defines a method for accessing the floating-point raster data in a TIFF
image.
|
TiffRasterData |
DataReaderStrips.readRasterData(Rectangle subImage) |
protected int[] |
ImageDataReader.unpackFloatingPointSamples(int width,
int height,
int scansize,
byte[] bytes,
int predictor,
int bitsPerSample,
ByteOrder byteOrder)
Given a source file that specifies the floating-point data format, unpack
the raw bytes obtained from the source file and organize them into an
array of integers containing the bit-equivalent of IEEE-754 32-bit
floats.
|
Modifier and Type | Method and Description |
---|---|
static FieldType |
FieldType.getFieldType(int type) |
Modifier and Type | Method and Description |
---|---|
void |
PhotometricInterpreterLogLuv.interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
void |
PhotometricInterpreterRgb.interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
void |
PhotometricInterpreterYCbCr.interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
void |
PhotometricInterpreterPalette.interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
void |
PhotometricInterpreterBiLevel.interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
void |
PhotometricInterpreterCmyk.interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
abstract void |
PhotometricInterpreter.interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
void |
PhotometricInterpreterCieLab.interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
void |
PhotometricInterpreterFloat.interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
String |
TagInfoGpsText.getValue(TiffField entry) |
Object |
TagInfo.getValue(TiffField entry) |
String |
TagInfoXpString.getValue(TiffField entry) |
Modifier and Type | Method and Description |
---|---|
boolean |
WbmpImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
BufferedImage |
WbmpImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
WbmpImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
WbmpImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
WbmpImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
WbmpImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
boolean |
XbmImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
BufferedImage |
XbmImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
XbmImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
XbmImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
XbmImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
XbmImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
boolean |
XpmImageParser.dumpImageFile(PrintWriter pw,
ByteSource byteSource) |
BufferedImage |
XpmImageParser.getBufferedImage(ByteSource byteSource,
Map<String,Object> params) |
byte[] |
XpmImageParser.getICCProfileBytes(ByteSource byteSource,
Map<String,Object> params) |
ImageInfo |
XpmImageParser.getImageInfo(ByteSource byteSource,
Map<String,Object> params) |
Dimension |
XpmImageParser.getImageSize(ByteSource byteSource,
Map<String,Object> params) |
ImageMetadata |
XpmImageParser.getMetadata(ByteSource byteSource,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
void |
IccTag.dump(PrintWriter pw,
String prefix) |
void |
IccTag.dump(String prefix) |
String |
IccProfileInfo.toString(String prefix) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.