static BufferedImage imageFromFunctionWithoutAlpha(int w, int h default w, IF2_Int f) { int[] pixels = new[w*h]; int i = 0; for y to h: for x to w: pixels[i++] = f.get(x, y); ret intArrayToBufferedImageWithoutAlpha(pixels, w, h); }