public boolean imageDataInStrips() throws ImagingException {
        final TiffField tileOffsets = findField(TiffTagConstants.TIFF_TAG_TILE_OFFSETS);
        final TiffField tileByteCounts = findField(TiffTagConstants.TIFF_TAG_TILE_BYTE_COUNTS);
        final TiffField stripOffsets = findField(TiffTagConstants.TIFF_TAG_STRIP_OFFSETS);
        final TiffField stripByteCounts = findField(TiffTagConstants.TIFF_TAG_STRIP_BYTE_COUNTS);

        if (tileOffsets != null && tileByteCounts != null) {
            return false;
        }
        if (stripOffsets != null && stripByteCounts != null) {
            return true;
        }
        throw new ImagingException("Couldn't find image data.");
    }
Indicates whether the content associated with the directory is given in a supported numerical-data format. If this method returns {@code true}, the
Imaging API will be able to extract a TiffRasterData instance from the associated TIFF file using this directory.

@return {@code true} if the directory contains a supported raster data format; otherwise, {@code false}.
@throws ImagingException in the event of an invalid or malformed specification.
src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java