public int getRgb(final int x, final int y) {
        final int rowOffset = y * width;
        return data[rowOffset + x];
    }
Gets the RGB or ARGB value for the pixel at the position (x,y) within the image builder pixel field. For performance reasons no bounds checking is
applied.

@param x the X coordinate of the pixel to be read
@param y the Y coordinate of the pixel to be read
@return the RGB or ARGB pixel value
src/main/java/org/apache/commons/imaging/common/ImageBuilder.java