Java org.apache.commons.imaging Imaging fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.imaging Imaging fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.imaging Imaging.

The text is from its open source code.

Method

StringdumpImageFile(final byte bytes[])
Write the ImageInfo and format-specific information for the image content of the specified byte array to a string.
StringdumpImageFile(final File file)
Write the ImageInfo and format-specific information for the image content of the specified file to a string.
StringdumpImageFile(final ByteSource byteSource)
ListgetAllBufferedImages(final byte bytes[])
Gets all images specified by the byte array (some formats may include multiple images within a single data source).
ListgetAllBufferedImages(final File file)
Gets all images specified by the file (some formats may include multiple images within a single data source).
ListgetAllBufferedImages(final ByteSource byteSource)
BufferedImagegetBufferedImage(final InputStream is)
Reads the first image from an InputStream.
BufferedImagegetBufferedImage(final byte bytes[])
Reads the first image from a byte array.
BufferedImagegetBufferedImage(final File file)
Reads the first image from a file.
BufferedImagegetBufferedImage(final InputStream is, final Map params)
Reads the first image from an InputStream using data-processing options specified through a parameters map.
BufferedImagegetBufferedImage(final byte bytes[], final Map params)
Reads the first image from a byte array using data-processing options specified through a parameters map.
BufferedImagegetBufferedImage(final File file, final Map params)
Reads the first image from a file using data-processing options specified through a parameters map.
BufferedImagegetBufferedImage(final ByteSource byteSource, Map params)
FormatCompliancegetFormatCompliance(final byte bytes[])
Attempts to determine the image format of the specified data and evaluates its format compliance.
FormatCompliancegetFormatCompliance(final File file)
Attempts to determine the image format of the specified data and evaluates its format compliance.
FormatCompliancegetFormatCompliance(final ByteSource byteSource)
ICC_ProfilegetICCProfile(final byte bytes[])
Extracts an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and TIFF images.
ICC_ProfilegetICCProfile(final File file)
Extracts an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and TIFF images.
byte[]getICCProfileBytes(final byte bytes[])
Extracts the raw bytes of an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and TIFF images.
byte[]getICCProfileBytes(final File file)
Extracts the raw bytes of an ICC Profile (if present) from JPEG, PNG, PSD (Photoshop) and TIFF images.
ImageInfogetImageInfo(final String filename, final byte bytes[])
Parses the "image info" of an image.
ImageInfogetImageInfo(final InputStream is, final String filename)
Parses the "image info" of an image.
ImageInfogetImageInfo(final byte bytes[], final Map params)
Parses the "image info" of an image.
ImageInfogetImageInfo(final File file, final Map params)
Parses the "image info" of an image file.
ImageInfogetImageInfo(final ByteSource byteSource, final Map params)
ImageInfogetImageInfo(final byte bytes[])
Parses the "image info" of an image.
ImageInfogetImageInfo(final File file)
Parses the "image info" of an image file.
DimensiongetImageSize(final byte bytes[])
Determines the width and height of an image.
DimensiongetImageSize(final File file)
Determines the width and height of an image file.
DimensiongetImageSize(final InputStream is, final String filename)
Determines the width and height of an image.
DimensiongetImageSize(final byte bytes[], final Map params)
Determines the width and height of an image.
DimensiongetImageSize(final File file, final Map params)
Determines the width and height of an image file.
DimensiongetImageSize(final ByteSource byteSource, final Map params)
IImageMetadatagetMetadata(final byte bytes[])
Parses the metadata of an image.
IImageMetadatagetMetadata(final File file)
Parses the metadata of an image file.
IImageMetadatagetMetadata(final byte bytes[], final Map params)
Parses the metadata of an image.
IImageMetadatagetMetadata(final InputStream is, final String filename)
Parses the metadata of an image file.
IImageMetadatagetMetadata(final File file, final Map params)
Parses the metadata of an image file.
IImageMetadatagetMetadata(final ByteSource byteSource, final Map params)
ImageFormatguessFormat(final byte bytes[])
Attempts to determine the image format of a file based on its "magic numbers," the first bytes of the data.
ImageFormatguessFormat(final File file)
Attempts to determine the image format of a file based on its "magic numbers," the first bytes of the data.
ImageFormatguessFormat(final ByteSource byteSource)
Attempts to determine the image format of a file based on its "magic numbers," the first bytes of the data.
booleanhasImageFileExtension(final File file)
Attempts to determine if a file contains an image recorded in a supported graphics format based on its file-name extension (for example ".jpg", ".gif", ".png", etc.).
booleanhasImageFileExtension(String filename)
Attempts to determine if a file contains an image recorded in a supported graphics format based on its file-name extension (for example ".jpg", ".gif", ".png", etc.).
voidwriteImage(final BufferedImage src, final File file, final ImageFormat format, final Map params)
Writes the content of a BufferedImage to a file using the specified image format.
voidwriteImage(final BufferedImage src, final OutputStream os, final ImageFormat format, Map params)
Writes the content of a BufferedImage to an OutputStream using the specified image format.
byte[]writeImageToBytes(final BufferedImage src, final ImageFormat format, final Map params)
Writes the content of a BufferedImage to a byte array using the specified image format.