Uses of Class
org.apache.commons.imaging.common.bytesource.ByteSource
Packages that use ByteSource
Package
Description
The main package for Apache Commons Imaging.
Provides utility classes that are employed across multiple
image formats and sub-packages.
Encapsulates sources from which data may be read.
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 X BitMap image format.
The X PixMap image format.
ICC color profile.
-
Uses of ByteSource in org.apache.commons.imaging
Methods in org.apache.commons.imaging with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) Write the ImageInfo and format-specific information for the image content of the specified byte source to a PrintWriterfinal StringImageParser.dumpImageFile(ByteSource byteSource) Write the ImageInfo and format-specific information for the image content of the specified byte source to a string.private static StringImaging.dumpImageFile(ByteSource byteSource) ImageParser.getAllBufferedImages(ByteSource byteSource) Gets all images specified by the byte source (some formats may include multiple images within a single data source).private static List<BufferedImage> Imaging.getAllBufferedImages(ByteSource byteSource) abstract BufferedImageImageParser.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).private static BufferedImageImaging.getBufferedImage(ByteSource byteSource, Map<String, Object> params) ImageParser.getFormatCompliance(ByteSource byteSource) Determines the format compliance of the content of the supplied byte source based on rules provided by a specific implementation.private static FormatComplianceImaging.getFormatCompliance(ByteSource byteSource) protected static ICC_ProfileImaging.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.private static byte[]Imaging.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) final ImageInfoImageParser.getImageInfo(ByteSource byteSource) Get image information from the specified ByteSource.abstract ImageInfoImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) Get image information from the specified ByteSource.private static ImageInfoImaging.getImageInfo(ByteSource byteSource, Map<String, Object> params) private static ImageParserImaging.getImageParser(ByteSource byteSource) abstract DimensionImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) Get the size of the image described by the specified ByteSource.static DimensionImaging.getImageSize(ByteSource byteSource, Map<String, Object> params) final ImageMetadataImageParser.getMetadata(ByteSource byteSource) Get image metadata from the specified byte source.abstract ImageMetadataImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) Get image metadata from the specified byte source.private static ImageMetadataImaging.getMetadata(ByteSource byteSource, Map<String, Object> params) static StringImaging.getXmpXml(ByteSource byteSource, Map<String, Object> params) Extracts the embedded XML metadata as an XML string.static ImageFormatImaging.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 -
Uses of ByteSource in org.apache.commons.imaging.common.bytesource
Subclasses of ByteSource in org.apache.commons.imaging.common.bytesourceModifier and TypeClassDescriptionclassclassclass -
Uses of ByteSource in org.apache.commons.imaging.formats.bmp
Methods in org.apache.commons.imaging.formats.bmp with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanBmpImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) BmpImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) BmpImageParser.getFormatCompliance(ByteSource byteSource) byte[]BmpImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) BmpImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) BmpImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) BmpImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private BmpHeaderInfoBmpImageParser.readBmpHeaderInfo(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.formats.dcx
Methods in org.apache.commons.imaging.formats.dcx with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanDcxImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) DcxImageParser.getAllBufferedImages(ByteSource byteSource) final BufferedImageDcxImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) byte[]DcxImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) DcxImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) DcxImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) DcxImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private DcxImageParser.DcxHeaderDcxImageParser.readDcxHeader(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.formats.gif
Methods in org.apache.commons.imaging.formats.gif with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanGifImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) GifImageParser.getAllBufferedImages(ByteSource byteSource) GifImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) GifImageParser.getFormatCompliance(ByteSource byteSource) byte[]GifImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) GifImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) GifImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) GifImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) GifImageParser.getXmpXml(ByteSource byteSource, Map<String, Object> params) Extracts embedded XML metadata as XML string.private GifImageContentsGifImageParser.readFile(ByteSource byteSource, boolean stopBeforeImageData) private GifImageContentsGifImageParser.readFile(ByteSource byteSource, boolean stopBeforeImageData, FormatCompliance formatCompliance) -
Uses of ByteSource in org.apache.commons.imaging.formats.icns
Methods in org.apache.commons.imaging.formats.icns with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanIcnsImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) IcnsImageParser.getAllBufferedImages(ByteSource byteSource) final BufferedImageIcnsImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) byte[]IcnsImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) IcnsImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) IcnsImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) IcnsImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private IcnsImageParser.IcnsContentsIcnsImageParser.readImage(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.formats.ico
Methods in org.apache.commons.imaging.formats.ico with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanIcoImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) IcoImageParser.getAllBufferedImages(ByteSource byteSource) final BufferedImageIcoImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) byte[]IcoImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) IcoImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) IcoImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) IcoImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private IcoImageParser.ImageContentsIcoImageParser.readImage(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.formats.jpeg
Methods in org.apache.commons.imaging.formats.jpeg with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanJpegImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) voidJpegUtils.dumpJFIF(ByteSource byteSource) final BufferedImageJpegImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) JpegImageParser.getExifMetadata(ByteSource byteSource, Map<String, Object> params) byte[]JpegImageParser.getExifRawData(ByteSource byteSource) byte[]JpegImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) JpegImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) JpegImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) JpegImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) JpegImageParser.getPhotoshopMetadata(ByteSource byteSource, Map<String, Object> params) JpegImageParser.getXmpXml(ByteSource byteSource, Map<String, Object> params) Extracts embedded XML metadata as XML string.booleanJpegImageParser.hasExifSegment(ByteSource byteSource) booleanJpegImageParser.hasIptcSegment(ByteSource byteSource) booleanJpegImageParser.hasXmpSegment(ByteSource byteSource) JpegImageParser.readSegments(ByteSource byteSource, int[] markers, boolean returnAfterFirst) JpegImageParser.readSegments(ByteSource byteSource, int[] markers, boolean returnAfterFirst, boolean readEverything) voidJpegUtils.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 TypeMethodDescriptionprivate ExifRewriter.JFIFPiecesExifRewriter.analyzeJFIF(ByteSource byteSource) voidExifRewriter.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.voidExifRewriter.updateExifMetadataLossless(ByteSource byteSource, OutputStream os, TiffOutputSet outputSet) Reads a Jpeg image, replaces the EXIF metadata and writes the result to a stream.voidExifRewriter.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 TypeMethodDescriptionvoidJpegIptcRewriter.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.voidJpegIptcRewriter.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.voidJpegIptcRewriter.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.JFIFPiecesJpegRewriter.analyzeJFIF(ByteSource byteSource) voidJpegXmpRewriter.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.voidJpegXmpRewriter.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 TypeMethodDescriptionbooleanPcxImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) final BufferedImagePcxImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) byte[]PcxImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) PcxImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) PcxImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) PcxImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private int[]PcxImageParser.read256ColorPaletteFromEndOfFile(ByteSource byteSource) private BufferedImagePcxImageParser.readImage(PcxImageParser.PcxHeader pcxHeader, InputStream is, ByteSource byteSource) private PcxImageParser.PcxHeaderPcxImageParser.readPcxHeader(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.formats.png
Methods in org.apache.commons.imaging.formats.png with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanPngImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) PngImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) byte[]PngImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) PngImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) PngImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) PngImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) PngImageParser.getXmpXml(ByteSource byteSource, Map<String, Object> params) booleanPngImageParser.hasChunkType(ByteSource byteSource, ChunkType chunkType) PngImageParser.readChunks(ByteSource byteSource, ChunkType[] chunkTypes, boolean returnAfterFirst) -
Uses of ByteSource in org.apache.commons.imaging.formats.pnm
Methods in org.apache.commons.imaging.formats.pnm with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanPnmImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) PnmImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) byte[]PnmImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) PnmImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) PnmImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) PnmImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private FileInfoPnmImageParser.readHeader(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.formats.psd
Methods in org.apache.commons.imaging.formats.psd with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanPsdImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) PsdImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) private byte[]PsdImageParser.getData(ByteSource byteSource, int section) byte[]PsdImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) PsdImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) PsdImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) private InputStreamPsdImageParser.getInputStream(ByteSource byteSource, int section) PsdImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) PsdImageParser.getXmpXml(ByteSource byteSource, Map<String, Object> params) Extracts embedded XML metadata as XML string.private PsdHeaderInfoPsdImageParser.readHeader(ByteSource byteSource) private PsdImageContentsPsdImageParser.readImageContents(ByteSource byteSource) private List<ImageResourceBlock> PsdImageParser.readImageResourceBlocks(ByteSource byteSource, int[] imageResourceIDs, int maxBlocksToRead) -
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, Map<String, Object> params) byte[]RgbeImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) RgbeImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) RgbeImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) RgbeImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) Constructors in org.apache.commons.imaging.formats.rgbe with parameters of type ByteSource -
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, Map<String, Object> params) booleanTiffImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) TiffImageParser.getAllBufferedImages(ByteSource byteSource) TiffImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) Gets a buffered image specified by the byte source.TiffImageParser.getFormatCompliance(ByteSource byteSource) byte[]TiffImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) TiffImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) TiffImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) private JpegImageDataTiffReader.getJpegRawImageData(ByteSource byteSource, TiffDirectory directory) TiffImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private TiffImageDataTiffReader.getTiffRawImageData(ByteSource byteSource, TiffDirectory directory) TiffImageParser.getXmpXml(ByteSource byteSource, Map<String, Object> params) voidTiffReader.read(ByteSource byteSource, Map<String, Object> params, FormatCompliance formatCompliance, TiffReader.Listener listener) TiffReader.readContents(ByteSource byteSource, Map<String, Object> params, FormatCompliance formatCompliance) TiffReader.readDirectories(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance) private voidTiffReader.readDirectories(ByteSource byteSource, FormatCompliance formatCompliance, TiffReader.Listener listener) private booleanTiffReader.readDirectory(ByteSource byteSource, long directoryOffset, int dirType, FormatCompliance formatCompliance, TiffReader.Listener listener, boolean ignoreNextDirectory, List<Number> visited) private booleanTiffReader.readDirectory(ByteSource byteSource, long offset, int dirType, FormatCompliance formatCompliance, TiffReader.Listener listener, List<Number> visited) TiffReader.readFirstDirectory(ByteSource byteSource, Map<String, Object> params, boolean readImageData, FormatCompliance formatCompliance) private TiffHeaderTiffReader.readTiffHeader(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.formats.wbmp
Methods in org.apache.commons.imaging.formats.wbmp with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanWbmpImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) final BufferedImageWbmpImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) byte[]WbmpImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) WbmpImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) WbmpImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) WbmpImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private WbmpImageParser.WbmpHeaderWbmpImageParser.readWbmpHeader(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.formats.xbm
Methods in org.apache.commons.imaging.formats.xbm with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanXbmImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) final BufferedImageXbmImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) byte[]XbmImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) XbmImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) XbmImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) XbmImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private XbmImageParser.XbmParseResultXbmImageParser.parseXbmHeader(ByteSource byteSource) private XbmImageParser.XbmHeaderXbmImageParser.readXbmHeader(ByteSource byteSource) -
Uses of ByteSource in org.apache.commons.imaging.formats.xpm
Methods in org.apache.commons.imaging.formats.xpm with parameters of type ByteSourceModifier and TypeMethodDescriptionbooleanXpmImageParser.dumpImageFile(PrintWriter pw, ByteSource byteSource) final BufferedImageXpmImageParser.getBufferedImage(ByteSource byteSource, Map<String, Object> params) byte[]XpmImageParser.getICCProfileBytes(ByteSource byteSource, Map<String, Object> params) XpmImageParser.getImageInfo(ByteSource byteSource, Map<String, Object> params) XpmImageParser.getImageSize(ByteSource byteSource, Map<String, Object> params) XpmImageParser.getMetadata(ByteSource byteSource, Map<String, Object> params) private XpmImageParser.XpmParseResultXpmImageParser.parseXpmHeader(ByteSource byteSource) private XpmImageParser.XpmHeaderXpmImageParser.readXpmHeader(ByteSource byteSource) -
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) booleanIccProfileParser.issRGB(ByteSource byteSource)