PHP grabing the dominant color from an image?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8730661/how-to-find-the-dominant-color-in-image">How to find the Dominant color in image?</a>  </p>
</blockquote>



<p>How I could grab the dominant color from a PNG image with php?</p>

<p>I've seen this achieved with jquery before but that's not an option due to the amount of images I'll be processing.</p>

<p>Here is a good example of what I am trying to achieve <a href="http://lokeshdhakar.com/color-thief/" rel="nofollow">http://lokeshdhakar.com/color-thief/</a> </p>

<p>Any ideas?</p>
