// Get color of one point. // A side effect is internally creating an object for the pixel, // which when you do that repeatedly, causes frothing. int rgb = bufferedImage.getRGB( x, y );