public int getSubImageHeight() {
        return subImageHeight;
    }
Gets the height for a sub-image setting. For a sub-image setting to be meaningful, both the width and height must be set.

@return if the sub-image feature is enabled, a value greater than zero; otherwise, zero.
src/main/java/org/apache/commons/imaging/formats/tiff/TiffImagingParameters.java