Class TiffReader
- java.lang.Object
-
- org.apache.commons.imaging.common.BinaryFileParser
-
- org.apache.commons.imaging.formats.tiff.TiffReader
-
public class TiffReader extends BinaryFileParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTiffReader.Listener
-
Constructor Summary
Constructors Constructor Description TiffReader(boolean strict)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidread(ByteSource byteSource, FormatCompliance formatCompliance, TiffReader.Listener listener)TiffContentsreadContents(ByteSource byteSource, TiffImagingParameters params, FormatCompliance formatCompliance)TiffContentsreadDirectories(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance)TiffContentsreadFirstDirectory(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance)-
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
-
-
-
Method Detail
-
readFirstDirectory
public TiffContents readFirstDirectory(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance) throws ImageReadException, IOException
- Throws:
ImageReadExceptionIOException
-
readDirectories
public TiffContents readDirectories(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance) throws ImageReadException, IOException
- Throws:
ImageReadExceptionIOException
-
readContents
public TiffContents readContents(ByteSource byteSource, TiffImagingParameters params, FormatCompliance formatCompliance) throws ImageReadException, IOException
- Throws:
ImageReadExceptionIOException
-
read
public void read(ByteSource byteSource, FormatCompliance formatCompliance, TiffReader.Listener listener) throws ImageReadException, IOException
- Throws:
ImageReadExceptionIOException
-
-