Uses of Class
org.apache.commons.imaging.FormatCompliance
Packages that use FormatCompliance
Package
Description
The main package for Apache Commons Imaging.
The BMP image format.
The GIF image format.
Provides classes and methods for reading and writing
Tagged Image File Format (TIFF) files.
-
Uses of FormatCompliance in org.apache.commons.imaging
Methods in org.apache.commons.imaging that return FormatComplianceModifier and TypeMethodDescriptionstatic FormatCompliance
FormatCompliance.getDefault()
final FormatCompliance
ImageParser.getFormatCompliance
(byte[] bytes) Determines the format compliance of the content of the supplied byte array based on rules provided by a specific implementation.final FormatCompliance
ImageParser.getFormatCompliance
(File file) Determines the format compliance of the specified file based on rules provided by a specific implementation.ImageParser.getFormatCompliance
(ByteSource byteSource) Determines the format compliance of the content of the supplied byte source based on rules provided by a specific implementation.static FormatCompliance
Imaging.getFormatCompliance
(byte[] bytes) Attempts to determine the image format of the specified data and evaluates its format compliance.static FormatCompliance
Imaging.getFormatCompliance
(File file) Attempts to determine the image format of the specified data and evaluates its format compliance.private static FormatCompliance
Imaging.getFormatCompliance
(ByteSource byteSource) -
Uses of FormatCompliance in org.apache.commons.imaging.formats.bmp
Methods in org.apache.commons.imaging.formats.bmp that return FormatComplianceMethods in org.apache.commons.imaging.formats.bmp with parameters of type FormatComplianceModifier and TypeMethodDescriptionprivate BmpHeaderInfo
BmpImageParser.readBmpHeaderInfo
(InputStream is, FormatCompliance formatCompliance) private BmpImageContents
BmpImageParser.readImageContents
(InputStream is, FormatCompliance formatCompliance) -
Uses of FormatCompliance in org.apache.commons.imaging.formats.gif
Methods in org.apache.commons.imaging.formats.gif that return FormatComplianceMethods in org.apache.commons.imaging.formats.gif with parameters of type FormatComplianceModifier and TypeMethodDescriptionGifImageParser.readBlocks
(GifHeaderInfo ghi, InputStream is, boolean stopBeforeImageData, FormatCompliance formatCompliance) private GifImageContents
GifImageParser.readFile
(ByteSource byteSource, boolean stopBeforeImageData, FormatCompliance formatCompliance) private GifHeaderInfo
GifImageParser.readHeader
(InputStream is, FormatCompliance formatCompliance) private ImageDescriptor
GifImageParser.readImageDescriptor
(GifHeaderInfo ghi, int blockCode, InputStream is, boolean stopBeforeImageData, FormatCompliance formatCompliance) -
Uses of FormatCompliance in org.apache.commons.imaging.formats.tiff
Methods in org.apache.commons.imaging.formats.tiff that return FormatComplianceMethods in org.apache.commons.imaging.formats.tiff with parameters of type FormatComplianceModifier and TypeMethodDescriptionvoid
TiffReader.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 void
TiffReader.readDirectories
(ByteSource byteSource, FormatCompliance formatCompliance, TiffReader.Listener listener) private boolean
TiffReader.readDirectory
(ByteSource byteSource, long directoryOffset, int dirType, FormatCompliance formatCompliance, TiffReader.Listener listener, boolean ignoreNextDirectory, List<Number> visited) private boolean
TiffReader.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)