Uses of Class
org.apache.commons.imaging.common.bytesource.ByteSource
-
-
Uses of ByteSource in org.apache.commons.imaging
Methods in org.apache.commons.imaging with parameters of type ByteSource Modifier and Type Method Description 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 PrintWriterString
ImageParser. dumpImageFile(ByteSource byteSource)
Write the ImageInfo and format-specific information for the image content of the specified byte source to a string.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).abstract BufferedImage
ImageParser. 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).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.protected static ICC_Profile
Imaging. getICCProfile(ByteSource byteSource)
abstract byte[]
ImageParser. getICCProfileBytes(ByteSource byteSource, T 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.ImageInfo
ImageParser. getImageInfo(ByteSource byteSource)
Get image information from the specified ByteSource.abstract ImageInfo
ImageParser. getImageInfo(ByteSource byteSource, T params)
Get image information from the specified ByteSource.abstract Dimension
ImageParser. getImageSize(ByteSource byteSource, T params)
Get 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.ImageMetadata
ImageParser. getMetadata(ByteSource byteSource)
Get image metadata from the specified byte source.abstract ImageMetadata
ImageParser. getMetadata(ByteSource byteSource, T params)
Get 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.common
Methods in org.apache.commons.imaging.common with parameters of type ByteSource Modifier and Type Method Description String
XmpEmbeddable. getXmpXml(ByteSource byteSource, XmpImagingParameters params)
Get a string containing XML-formatted text conforming to the Extensible Metadata Platform (EXP) standard for representing information about image content. -
Uses of ByteSource in org.apache.commons.imaging.common.bytesource
Subclasses of ByteSource in org.apache.commons.imaging.common.bytesource Modifier and Type Class Description class
ByteSourceArray
class
ByteSourceFile
class
ByteSourceInputStream
-
Uses of ByteSource in org.apache.commons.imaging.formats.bmp
Methods in org.apache.commons.imaging.formats.bmp with parameters of type ByteSource Modifier and Type Method Description boolean
BmpImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
BufferedImage
BmpImageParser. getBufferedImage(ByteSource byteSource, BmpImagingParameters params)
FormatCompliance
BmpImageParser. getFormatCompliance(ByteSource byteSource)
byte[]
BmpImageParser. getICCProfileBytes(ByteSource byteSource, BmpImagingParameters params)
ImageInfo
BmpImageParser. getImageInfo(ByteSource byteSource, BmpImagingParameters params)
Dimension
BmpImageParser. getImageSize(ByteSource byteSource, BmpImagingParameters params)
ImageMetadata
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 ByteSource Modifier and Type Method Description boolean
DcxImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
List<BufferedImage>
DcxImageParser. getAllBufferedImages(ByteSource byteSource)
BufferedImage
DcxImageParser. getBufferedImage(ByteSource byteSource, PcxImagingParameters params)
byte[]
DcxImageParser. getICCProfileBytes(ByteSource byteSource, PcxImagingParameters params)
ImageInfo
DcxImageParser. getImageInfo(ByteSource byteSource, PcxImagingParameters params)
Dimension
DcxImageParser. getImageSize(ByteSource byteSource, PcxImagingParameters params)
ImageMetadata
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 ByteSource Modifier and Type Method Description boolean
GifImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
List<BufferedImage>
GifImageParser. getAllBufferedImages(ByteSource byteSource)
BufferedImage
GifImageParser. getBufferedImage(ByteSource byteSource, GifImagingParameters params)
FormatCompliance
GifImageParser. getFormatCompliance(ByteSource byteSource)
byte[]
GifImageParser. getICCProfileBytes(ByteSource byteSource, GifImagingParameters params)
ImageInfo
GifImageParser. getImageInfo(ByteSource byteSource, GifImagingParameters params)
Dimension
GifImageParser. getImageSize(ByteSource byteSource, GifImagingParameters params)
ImageMetadata
GifImageParser. getMetadata(ByteSource byteSource, GifImagingParameters params)
String
GifImageParser. getXmpXml(ByteSource byteSource, XmpImagingParameters 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 ByteSource Modifier and Type Method Description boolean
IcnsImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
List<BufferedImage>
IcnsImageParser. getAllBufferedImages(ByteSource byteSource)
BufferedImage
IcnsImageParser. getBufferedImage(ByteSource byteSource, IcnsImagingParameters params)
byte[]
IcnsImageParser. getICCProfileBytes(ByteSource byteSource, IcnsImagingParameters params)
ImageInfo
IcnsImageParser. getImageInfo(ByteSource byteSource, IcnsImagingParameters params)
Dimension
IcnsImageParser. getImageSize(ByteSource byteSource, IcnsImagingParameters params)
ImageMetadata
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 ByteSource Modifier and Type Method Description boolean
IcoImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
List<BufferedImage>
IcoImageParser. getAllBufferedImages(ByteSource byteSource)
BufferedImage
IcoImageParser. getBufferedImage(ByteSource byteSource, IcoImagingParameters params)
byte[]
IcoImageParser. getICCProfileBytes(ByteSource byteSource, IcoImagingParameters params)
ImageInfo
IcoImageParser. getImageInfo(ByteSource byteSource, IcoImagingParameters params)
Dimension
IcoImageParser. getImageSize(ByteSource byteSource, IcoImagingParameters params)
ImageMetadata
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 ByteSource Modifier and Type Method Description boolean
JpegImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
void
JpegUtils. dumpJFIF(ByteSource byteSource)
BufferedImage
JpegImageParser. getBufferedImage(ByteSource byteSource, JpegImagingParameters params)
TiffImageMetadata
JpegImageParser. getExifMetadata(ByteSource byteSource, TiffImagingParameters params)
byte[]
JpegImageParser. getExifRawData(ByteSource byteSource)
byte[]
JpegImageParser. getICCProfileBytes(ByteSource byteSource, JpegImagingParameters params)
ImageInfo
JpegImageParser. getImageInfo(ByteSource byteSource, JpegImagingParameters params)
Dimension
JpegImageParser. getImageSize(ByteSource byteSource, JpegImagingParameters params)
ImageMetadata
JpegImageParser. getMetadata(ByteSource byteSource, JpegImagingParameters params)
JpegPhotoshopMetadata
JpegImageParser. getPhotoshopMetadata(ByteSource byteSource, JpegImagingParameters params)
String
JpegImageParser. getXmpXml(ByteSource byteSource, XmpImagingParameters 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)
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 Modifier and Type Method Description BufferedImage
JpegDecoder. decode(ByteSource 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 ByteSource Modifier and Type Method Description 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. 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 ByteSource Modifier and Type Method Description 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. 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 ByteSource Modifier and Type Method Description protected 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 ByteSource Modifier and Type Method Description boolean
PcxImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
BufferedImage
PcxImageParser. getBufferedImage(ByteSource byteSource, PcxImagingParameters params)
byte[]
PcxImageParser. getICCProfileBytes(ByteSource byteSource, PcxImagingParameters params)
ImageInfo
PcxImageParser. getImageInfo(ByteSource byteSource, PcxImagingParameters params)
Dimension
PcxImageParser. getImageSize(ByteSource byteSource, PcxImagingParameters params)
ImageMetadata
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 ByteSource Modifier and Type Method Description boolean
PngImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
BufferedImage
PngImageParser. getBufferedImage(ByteSource byteSource, PngImagingParameters params)
byte[]
PngImageParser. getICCProfileBytes(ByteSource byteSource, PngImagingParameters params)
ImageInfo
PngImageParser. getImageInfo(ByteSource byteSource, PngImagingParameters params)
Dimension
PngImageParser. getImageSize(ByteSource byteSource, PngImagingParameters params)
ImageMetadata
PngImageParser. getMetadata(ByteSource byteSource, PngImagingParameters params)
String
PngImageParser. getXmpXml(ByteSource byteSource, XmpImagingParameters 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 ByteSource Modifier and Type Method Description boolean
PnmImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
BufferedImage
PnmImageParser. getBufferedImage(ByteSource byteSource, PnmImagingParameters params)
byte[]
PnmImageParser. getICCProfileBytes(ByteSource byteSource, PnmImagingParameters params)
ImageInfo
PnmImageParser. getImageInfo(ByteSource byteSource, PnmImagingParameters params)
Dimension
PnmImageParser. getImageSize(ByteSource byteSource, PnmImagingParameters params)
ImageMetadata
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 ByteSource Modifier and Type Method Description boolean
PsdImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
BufferedImage
PsdImageParser. getBufferedImage(ByteSource byteSource, PsdImagingParameters params)
byte[]
PsdImageParser. getICCProfileBytes(ByteSource byteSource, PsdImagingParameters params)
ImageInfo
PsdImageParser. getImageInfo(ByteSource byteSource, PsdImagingParameters params)
Dimension
PsdImageParser. getImageSize(ByteSource byteSource, PsdImagingParameters params)
ImageMetadata
PsdImageParser. getMetadata(ByteSource byteSource, PsdImagingParameters params)
String
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 ByteSource Modifier and Type Method Description BufferedImage
RgbeImageParser. getBufferedImage(ByteSource byteSource, RgbeImagingParameters params)
byte[]
RgbeImageParser. getICCProfileBytes(ByteSource byteSource, RgbeImagingParameters params)
ImageInfo
RgbeImageParser. getImageInfo(ByteSource byteSource, RgbeImagingParameters params)
Dimension
RgbeImageParser. getImageSize(ByteSource byteSource, RgbeImagingParameters params)
ImageMetadata
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 ByteSource Modifier and Type Method Description List<byte[]>
TiffImageParser. collectRawImageData(ByteSource byteSource, TiffImagingParameters params)
boolean
TiffImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
List<BufferedImage>
TiffImageParser. getAllBufferedImages(ByteSource byteSource)
BufferedImage
TiffImageParser. getBufferedImage(ByteSource byteSource, TiffImagingParameters params)
Gets a buffered image specified by the byte source.FormatCompliance
TiffImageParser. getFormatCompliance(ByteSource byteSource)
byte[]
TiffImageParser. getICCProfileBytes(ByteSource byteSource, TiffImagingParameters params)
ImageInfo
TiffImageParser. getImageInfo(ByteSource byteSource, TiffImagingParameters params)
Dimension
TiffImageParser. getImageSize(ByteSource byteSource, TiffImagingParameters params)
ImageMetadata
TiffImageParser. getMetadata(ByteSource byteSource, TiffImagingParameters params)
String
TiffImageParser. getXmpXml(ByteSource byteSource, XmpImagingParameters params)
void
TiffReader. read(ByteSource byteSource, FormatCompliance formatCompliance, TiffReader.Listener listener)
TiffContents
TiffReader. readContents(ByteSource byteSource, TiffImagingParameters params, FormatCompliance formatCompliance)
TiffContents
TiffReader. readDirectories(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance)
TiffContents
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 ByteSource Modifier and Type Method Description boolean
WbmpImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
BufferedImage
WbmpImageParser. getBufferedImage(ByteSource byteSource, WbmpImagingParameters params)
byte[]
WbmpImageParser. getICCProfileBytes(ByteSource byteSource, WbmpImagingParameters params)
ImageInfo
WbmpImageParser. getImageInfo(ByteSource byteSource, WbmpImagingParameters params)
Dimension
WbmpImageParser. getImageSize(ByteSource byteSource, WbmpImagingParameters params)
ImageMetadata
WbmpImageParser. getMetadata(ByteSource byteSource, WbmpImagingParameters params)
-
Uses of ByteSource in org.apache.commons.imaging.formats.xbm
Methods in org.apache.commons.imaging.formats.xbm with parameters of type ByteSource Modifier and Type Method Description boolean
XbmImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
BufferedImage
XbmImageParser. getBufferedImage(ByteSource byteSource, XbmImagingParameters params)
byte[]
XbmImageParser. getICCProfileBytes(ByteSource byteSource, XbmImagingParameters params)
ImageInfo
XbmImageParser. getImageInfo(ByteSource byteSource, XbmImagingParameters params)
Dimension
XbmImageParser. getImageSize(ByteSource byteSource, XbmImagingParameters params)
ImageMetadata
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 ByteSource Modifier and Type Method Description boolean
XpmImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
BufferedImage
XpmImageParser. getBufferedImage(ByteSource byteSource, XpmImagingParameters params)
byte[]
XpmImageParser. getICCProfileBytes(ByteSource byteSource, XpmImagingParameters params)
ImageInfo
XpmImageParser. getImageInfo(ByteSource byteSource, XpmImagingParameters params)
Dimension
XpmImageParser. getImageSize(ByteSource byteSource, XpmImagingParameters params)
ImageMetadata
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 ByteSource Modifier and Type Method Description IccProfileInfo
IccProfileParser. 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 ByteSource Modifier and Type Method Description static ImageParser<?>
Util. getImageParser(ByteSource byteSource)
-