PHP Load image into array, 2 bit
<p>I want to load an entire image (PNG) into a 2-dimensional array where a black pixel is <code>true</code> and a white pixel is <code>false</code>.</p>

<p>What's the most efficient way of doing this?</p>

<p>Should I convert the image into bitmap and attempt to read that in, or is there a more efficient method?</p>
