Uses of Class
org.apache.commons.imaging.bytesource.ByteSource
Packages that use ByteSource
Package
Description
The main package for Apache Commons Imaging.
Encapsulates sources from which data may be read.
Provides utility classes that are employed across multiple image formats and sub-packages.
The BMP image format.
The DCX image format.
The GIF image format.
The ICNS image format.
The ICO/CUR image formats.
The JPEG image format.
JPEG image format decoder.
JPEG image format Exif utilities.
JPEG image format IPTC metadata.
JPEG image format XMP metadata.
The PCX image format.
The PNG image format.
The PNM image format family.
The PSD image format.
The Radiance HDR image format.
Provides classes and methods for reading and writing Tagged Image File Format (TIFF) files.
The Wireless Application Protocol Bitmap Format image format.
The WebP image format.
The X BitMap image format.
The X PixMap image format.
ICC color profile.
Internal utility classes.
-
Uses of ByteSource in org.apache.commons.imaging
Methods in org.apache.commons.imaging with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
AbstractImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) Write the ImageInfo and format-specific information for the image content of the specified byte source to a PrintWriterfinal String
AbstractImageParser.dumpImageFile
(ByteSource byteSource) Write the ImageInfo and format-specific information for the image content of the specified byte source to a string.AbstractImageParser.getAllBufferedImages
(ByteSource byteSource) Gets all images specified by the byte source (some formats may include multiple images within a single data source).abstract BufferedImage
AbstractImageParser.getBufferedImage
(ByteSource byteSource, T 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).AbstractImageParser.getFormatCompliance
(ByteSource byteSource) Determines the format compliance of the content of the supplied byte source based on rules provided by a specific implementation.protected static ICC_Profile
Imaging.getIccProfile
(ByteSource byteSource) abstract byte[]
AbstractImageParser.getIccProfileBytes
(ByteSource byteSource, T params) Gets an array of bytes describing the International Color Consortium (ICC) specification for the color space of the image contained in the input byteSource.final ImageInfo
AbstractImageParser.getImageInfo
(ByteSource byteSource) Gets image information from the specified ByteSource.abstract ImageInfo
AbstractImageParser.getImageInfo
(ByteSource byteSource, T params) Gets image information from the specified ByteSource.abstract Dimension
AbstractImageParser.getImageSize
(ByteSource byteSource, T params) Gets the size of the image described by the specified ByteSource.static Dimension
Imaging.getImageSize
(ByteSource byteSource) Determines the width and height of an image byte source.final ImageMetadata
AbstractImageParser.getMetadata
(ByteSource byteSource) Gets image metadata from the specified byte source.abstract ImageMetadata
AbstractImageParser.getMetadata
(ByteSource byteSource, T params) Gets image metadata from the specified byte source.static String
Imaging.getXmpXml
(ByteSource byteSource) Extracts the embedded XML metadata as an XML string.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. -
Uses of ByteSource in org.apache.commons.imaging.bytesource
Methods in org.apache.commons.imaging.bytesource that return ByteSourceModifier and TypeMethodDescriptionstatic ByteSource
ByteSource.array
(byte[] array) static ByteSource
static ByteSource
static ByteSource
ByteSource.inputStream
(InputStream is, String name) static ByteSource
-
Uses of ByteSource in org.apache.commons.imaging.common
Methods in org.apache.commons.imaging.common with parameters of type ByteSourceModifier and TypeMethodDescriptionXmpEmbeddable.getXmpXml
(ByteSource byteSource, XmpImagingParameters<E> params) Gets a string containing XML conforming to the Extensible Metadata Platform (XMP) standard for representing information about image content. -
Uses of ByteSource in org.apache.commons.imaging.formats.bmp
Methods in org.apache.commons.imaging.formats.bmp with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
BmpImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) BmpImageParser.getBufferedImage
(ByteSource byteSource, BmpImagingParameters params) BmpImageParser.getFormatCompliance
(ByteSource byteSource) byte[]
BmpImageParser.getIccProfileBytes
(ByteSource byteSource, BmpImagingParameters params) BmpImageParser.getImageInfo
(ByteSource byteSource, BmpImagingParameters params) BmpImageParser.getImageSize
(ByteSource byteSource, BmpImagingParameters params) BmpImageParser.getMetadata
(ByteSource byteSource, BmpImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.formats.dcx
Methods in org.apache.commons.imaging.formats.dcx with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
DcxImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) DcxImageParser.getAllBufferedImages
(ByteSource byteSource) final BufferedImage
DcxImageParser.getBufferedImage
(ByteSource byteSource, PcxImagingParameters params) byte[]
DcxImageParser.getIccProfileBytes
(ByteSource byteSource, PcxImagingParameters params) DcxImageParser.getImageInfo
(ByteSource byteSource, PcxImagingParameters params) DcxImageParser.getImageSize
(ByteSource byteSource, PcxImagingParameters params) DcxImageParser.getMetadata
(ByteSource byteSource, PcxImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.formats.gif
Methods in org.apache.commons.imaging.formats.gif with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
GifImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) GifImageParser.getAllBufferedImages
(ByteSource byteSource) GifImageParser.getBufferedImage
(ByteSource byteSource, GifImagingParameters params) GifImageParser.getFormatCompliance
(ByteSource byteSource) byte[]
GifImageParser.getIccProfileBytes
(ByteSource byteSource, GifImagingParameters params) GifImageParser.getImageInfo
(ByteSource byteSource, GifImagingParameters params) GifImageParser.getImageSize
(ByteSource byteSource, GifImagingParameters params) GifImageParser.getMetadata
(ByteSource byteSource, GifImagingParameters params) GifImageParser.getXmpXml
(ByteSource byteSource, XmpImagingParameters<GifImagingParameters> params) Extracts embedded XML metadata as XML string. -
Uses of ByteSource in org.apache.commons.imaging.formats.icns
Methods in org.apache.commons.imaging.formats.icns with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
IcnsImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) IcnsImageParser.getAllBufferedImages
(ByteSource byteSource) final BufferedImage
IcnsImageParser.getBufferedImage
(ByteSource byteSource, IcnsImagingParameters params) byte[]
IcnsImageParser.getIccProfileBytes
(ByteSource byteSource, IcnsImagingParameters params) IcnsImageParser.getImageInfo
(ByteSource byteSource, IcnsImagingParameters params) IcnsImageParser.getImageSize
(ByteSource byteSource, IcnsImagingParameters params) IcnsImageParser.getMetadata
(ByteSource byteSource, IcnsImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.formats.ico
Methods in org.apache.commons.imaging.formats.ico with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
IcoImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) IcoImageParser.getAllBufferedImages
(ByteSource byteSource) final BufferedImage
IcoImageParser.getBufferedImage
(ByteSource byteSource, IcoImagingParameters params) byte[]
IcoImageParser.getIccProfileBytes
(ByteSource byteSource, IcoImagingParameters params) IcoImageParser.getImageInfo
(ByteSource byteSource, IcoImagingParameters params) IcoImageParser.getImageSize
(ByteSource byteSource, IcoImagingParameters params) IcoImageParser.getMetadata
(ByteSource byteSource, IcoImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.formats.jpeg
Methods in org.apache.commons.imaging.formats.jpeg with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
JpegImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) void
JpegUtils.dumpJfif
(ByteSource byteSource) final BufferedImage
JpegImageParser.getBufferedImage
(ByteSource byteSource, JpegImagingParameters params) JpegImageParser.getExifMetadata
(ByteSource byteSource, TiffImagingParameters params) byte[]
JpegImageParser.getExifRawData
(ByteSource byteSource) byte[]
JpegImageParser.getIccProfileBytes
(ByteSource byteSource, JpegImagingParameters params) JpegImageParser.getImageInfo
(ByteSource byteSource, JpegImagingParameters params) JpegImageParser.getImageSize
(ByteSource byteSource, JpegImagingParameters params) JpegImageParser.getMetadata
(ByteSource byteSource, JpegImagingParameters params) JpegImageParser.getPhotoshopMetadata
(ByteSource byteSource, JpegImagingParameters params) JpegImageParser.getXmpXml
(ByteSource byteSource, XmpImagingParameters<JpegImagingParameters> params) Extracts embedded XML metadata as XML string.boolean
JpegImageParser.hasExifSegment
(ByteSource byteSource) boolean
JpegImageParser.hasIptcSegment
(ByteSource byteSource) boolean
JpegImageParser.hasXmpSegment
(ByteSource byteSource) JpegImageParser.readSegments
(ByteSource byteSource, int[] markers, boolean returnAfterFirst) void
JpegUtils.traverseJfif
(ByteSource byteSource, JpegUtils.Visitor visitor) -
Uses of ByteSource in org.apache.commons.imaging.formats.jpeg.decoder
Methods in org.apache.commons.imaging.formats.jpeg.decoder with parameters of type ByteSource -
Uses of ByteSource in org.apache.commons.imaging.formats.jpeg.exif
Methods in org.apache.commons.imaging.formats.jpeg.exif with parameters of type ByteSourceModifier and TypeMethodDescriptionvoid
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.updateExifMetadataLossless
(ByteSource byteSource, 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. -
Uses of ByteSource in org.apache.commons.imaging.formats.jpeg.iptc
Methods in org.apache.commons.imaging.formats.jpeg.iptc with parameters of type ByteSourceModifier and TypeMethodDescriptionvoid
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.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. -
Uses of ByteSource in org.apache.commons.imaging.formats.jpeg.xmp
Methods in org.apache.commons.imaging.formats.jpeg.xmp with parameters of type ByteSourceModifier and TypeMethodDescriptionprotected JpegRewriter.JFIFPieces
JpegRewriter.analyzeJfif
(ByteSource byteSource) 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.updateXmpXml
(ByteSource byteSource, OutputStream os, String xmpXml) Reads a JPEG image, replaces the XMP XML and writes the result to a stream. -
Uses of ByteSource in org.apache.commons.imaging.formats.pcx
Methods in org.apache.commons.imaging.formats.pcx with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
PcxImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) final BufferedImage
PcxImageParser.getBufferedImage
(ByteSource byteSource, PcxImagingParameters params) byte[]
PcxImageParser.getIccProfileBytes
(ByteSource byteSource, PcxImagingParameters params) PcxImageParser.getImageInfo
(ByteSource byteSource, PcxImagingParameters params) PcxImageParser.getImageSize
(ByteSource byteSource, PcxImagingParameters params) PcxImageParser.getMetadata
(ByteSource byteSource, PcxImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.formats.png
Methods in org.apache.commons.imaging.formats.png with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
PngImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) PngImageParser.getBufferedImage
(ByteSource byteSource, PngImagingParameters params) byte[]
PngImageParser.getIccProfileBytes
(ByteSource byteSource, PngImagingParameters params) PngImageParser.getImageInfo
(ByteSource byteSource, PngImagingParameters params) PngImageParser.getImageSize
(ByteSource byteSource, PngImagingParameters params) PngImageParser.getMetadata
(ByteSource byteSource, PngImagingParameters params) PngImageParser.getXmpXml
(ByteSource byteSource, XmpImagingParameters<PngImagingParameters> params) boolean
PngImageParser.hasChunkType
(ByteSource byteSource, ChunkType chunkType) -
Uses of ByteSource in org.apache.commons.imaging.formats.pnm
Methods in org.apache.commons.imaging.formats.pnm with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
PnmImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) PnmImageParser.getBufferedImage
(ByteSource byteSource, PnmImagingParameters params) byte[]
PnmImageParser.getIccProfileBytes
(ByteSource byteSource, PnmImagingParameters params) PnmImageParser.getImageInfo
(ByteSource byteSource, PnmImagingParameters params) PnmImageParser.getImageSize
(ByteSource byteSource, PnmImagingParameters params) PnmImageParser.getMetadata
(ByteSource byteSource, PnmImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.formats.psd
Methods in org.apache.commons.imaging.formats.psd with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
PsdImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) PsdImageParser.getBufferedImage
(ByteSource byteSource, PsdImagingParameters params) byte[]
PsdImageParser.getIccProfileBytes
(ByteSource byteSource, PsdImagingParameters params) PsdImageParser.getImageInfo
(ByteSource byteSource, PsdImagingParameters params) PsdImageParser.getImageSize
(ByteSource byteSource, PsdImagingParameters params) PsdImageParser.getMetadata
(ByteSource byteSource, PsdImagingParameters params) PsdImageParser.getXmpXml
(ByteSource byteSource, XmpImagingParameters params) Extracts embedded XML metadata as XML string. -
Uses of ByteSource in org.apache.commons.imaging.formats.rgbe
Methods in org.apache.commons.imaging.formats.rgbe with parameters of type ByteSourceModifier and TypeMethodDescriptionRgbeImageParser.getBufferedImage
(ByteSource byteSource, RgbeImagingParameters params) byte[]
RgbeImageParser.getIccProfileBytes
(ByteSource byteSource, RgbeImagingParameters params) RgbeImageParser.getImageInfo
(ByteSource byteSource, RgbeImagingParameters params) RgbeImageParser.getImageSize
(ByteSource byteSource, RgbeImagingParameters params) RgbeImageParser.getMetadata
(ByteSource byteSource, RgbeImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.formats.tiff
Methods in org.apache.commons.imaging.formats.tiff with parameters of type ByteSourceModifier and TypeMethodDescriptionList<byte[]>
TiffImageParser.collectRawImageData
(ByteSource byteSource, TiffImagingParameters params) boolean
TiffImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) TiffImageParser.getAllBufferedImages
(ByteSource byteSource) TiffImageParser.getBufferedImage
(ByteSource byteSource, TiffImagingParameters params) Gets a buffered image specified by the byte source.TiffImageParser.getFormatCompliance
(ByteSource byteSource) byte[]
TiffImageParser.getIccProfileBytes
(ByteSource byteSource, TiffImagingParameters params) TiffImageParser.getImageInfo
(ByteSource byteSource, TiffImagingParameters params) TiffImageParser.getImageSize
(ByteSource byteSource, TiffImagingParameters params) TiffImageParser.getMetadata
(ByteSource byteSource, TiffImagingParameters params) TiffImageParser.getXmpXml
(ByteSource byteSource, XmpImagingParameters<TiffImagingParameters> params) void
TiffReader.read
(ByteSource byteSource, FormatCompliance formatCompliance, TiffReader.Listener listener) TiffReader.readContents
(ByteSource byteSource, TiffImagingParameters params, FormatCompliance formatCompliance) TiffReader.readDirectories
(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance) TiffReader.readFirstDirectory
(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance) -
Uses of ByteSource in org.apache.commons.imaging.formats.wbmp
Methods in org.apache.commons.imaging.formats.wbmp with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
WbmpImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) final BufferedImage
WbmpImageParser.getBufferedImage
(ByteSource byteSource, WbmpImagingParameters params) byte[]
WbmpImageParser.getIccProfileBytes
(ByteSource byteSource, WbmpImagingParameters params) WbmpImageParser.getImageInfo
(ByteSource byteSource, WbmpImagingParameters params) WbmpImageParser.getImageSize
(ByteSource byteSource, WbmpImagingParameters params) WbmpImageParser.getMetadata
(ByteSource byteSource, WbmpImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.formats.webp
Methods in org.apache.commons.imaging.formats.webp with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
WebPImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) WebPImageParser.getBufferedImage
(ByteSource byteSource, WebPImagingParameters params) byte[]
WebPImageParser.getIccProfileBytes
(ByteSource byteSource, WebPImagingParameters params) WebPImageParser.getImageInfo
(ByteSource byteSource, WebPImagingParameters params) WebPImageParser.getImageSize
(ByteSource byteSource, WebPImagingParameters params) WebPImageParser.getMetadata
(ByteSource byteSource, WebPImagingParameters params) WebPImageParser.getXmpXml
(ByteSource byteSource, XmpImagingParameters<WebPImagingParameters> params) -
Uses of ByteSource in org.apache.commons.imaging.formats.xbm
Methods in org.apache.commons.imaging.formats.xbm with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
XbmImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) final BufferedImage
XbmImageParser.getBufferedImage
(ByteSource byteSource, XbmImagingParameters params) byte[]
XbmImageParser.getIccProfileBytes
(ByteSource byteSource, XbmImagingParameters params) XbmImageParser.getImageInfo
(ByteSource byteSource, XbmImagingParameters params) XbmImageParser.getImageSize
(ByteSource byteSource, XbmImagingParameters params) XbmImageParser.getMetadata
(ByteSource byteSource, XbmImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.formats.xpm
Methods in org.apache.commons.imaging.formats.xpm with parameters of type ByteSourceModifier and TypeMethodDescriptionboolean
XpmImageParser.dumpImageFile
(PrintWriter pw, ByteSource byteSource) final BufferedImage
XpmImageParser.getBufferedImage
(ByteSource byteSource, XpmImagingParameters params) byte[]
XpmImageParser.getIccProfileBytes
(ByteSource byteSource, XpmImagingParameters params) XpmImageParser.getImageInfo
(ByteSource byteSource, XpmImagingParameters params) XpmImageParser.getImageSize
(ByteSource byteSource, XpmImagingParameters params) XpmImageParser.getMetadata
(ByteSource byteSource, XpmImagingParameters params) -
Uses of ByteSource in org.apache.commons.imaging.icc
Methods in org.apache.commons.imaging.icc with parameters of type ByteSourceModifier and TypeMethodDescriptionIccProfileParser.getIccProfileInfo
(ByteSource byteSource) boolean
IccProfileParser.isSrgb
(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.internal
Methods in org.apache.commons.imaging.internal with parameters of type ByteSourceModifier and TypeMethodDescriptionstatic <T extends ImagingParameters<T>>
AbstractImageParser<T>ImageParserFactory.getImageParser
(ByteSource byteSource)