void populate(final ImageBuilder imageBuilder) {
        for (int x = 0; x < 100; x++) {
            for (int y = 0; y < 100; y++) {
                final int k = y * 100 + x;
                final int rgb = 0xff000000 | k;
                imageBuilder.setRgb(x, y, rgb);
            }
        }
    }
Provides unit tests for the ImageBuilder class.
src/test/java/org/apache/commons/imaging/common/ImageBuilderTest.java