public final int getSamplesPerPixel() {
        return samplesPerPixel;
    }
Gets the number of samples per pixel.

@return a value of 1 or greater.
src/main/java/org/apache/commons/imaging/formats/tiff/AbstractTiffRasterData.java