public BufferedImage getTiffImage() throws ImagingException, IOException {
        if (null == abstractTiffImageData) {
            return null;
        }

        return new TiffImageParser().getBufferedImage(this, headerByteOrder, null);
    }
Gets the image associated with the directory, if any. Note that not all directories contain images.

@return if successful, a valid BufferedImage instance.
@throws ImagingException in the event of an invalid or incompatible data format.
@throws IOException      in the event of an I/O error.
src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java