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, 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).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, Map<String,Object> params)
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.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.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)
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.static String
Imaging. getXmpXml(ByteSource byteSource, Map<String,Object> params)
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, 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. -
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, 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)
-
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, 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)
-
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, 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. -
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, 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)
-
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, 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)
-
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, Map<String,Object> params)
TiffImageMetadata
JpegImageParser. getExifMetadata(ByteSource byteSource, Map<String,Object> params)
byte[]
JpegImageParser. getExifRawData(ByteSource byteSource)
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)
-
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, 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)
-
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, Map<String,Object> params)
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)
-
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, 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)
-
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, 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. -
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, 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)
-
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, Map<String,Object> params)
boolean
TiffImageParser. dumpImageFile(PrintWriter pw, ByteSource byteSource)
List<BufferedImage>
TiffImageParser. getAllBufferedImages(ByteSource byteSource)
BufferedImage
TiffImageParser. getBufferedImage(ByteSource byteSource, Map<String,Object> params)
Gets a buffered image specified by the byte source.FormatCompliance
TiffImageParser. getFormatCompliance(ByteSource byteSource)
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)
ImageMetadata
TiffImageParser. getMetadata(ByteSource byteSource, Map<String,Object> params)
String
TiffImageParser. getXmpXml(ByteSource byteSource, Map<String,Object> params)
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)
-
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, 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)
-
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, 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)
-
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, 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)
-
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)
-