title: Java - get pixel array from image
body: <p>I'm looking for the fastest way to get pixel data (int the form <code>int[][]</code>) from a <a href="http://download.oracle.com/javase/6/docs/api/java/awt/image/BufferedImage.html" rel="noreferrer"><code>BufferedImage</code></a>. My goal is to be able to address pixel <code>(x, y)</code> from the image using <code>int[x][y]</code>. All the methods I have found do not do this (most of them return <code>int[]</code>s).</p>