@Override
    public int[] getIntData() {
        return IntStream.range(0, nCells).map(i -> (int) data[i]).toArray();
    }
Returns an array of integer approximations for the floating-point content stored as an array in this instance.
<p>
See the class API documentation above for notes on accessing array elements.

@return the integer equivalents to the data content stored in this instance.
src/main/java/org/apache/commons/imaging/formats/tiff/TiffRasterDataFloat.java