don't click here

PHP & imagick help

Discussion in 'Technical Discussion' started by Spexfox, Jun 1, 2008.

Thread Status:
Not open for further replies.
  1. Well I've FINALLY started working on a project in PHP that I've been thinking about for a while. It requires some image analysis in order to work, so as you can image things will get tricky. My first goal on the project is to write some code that will be able to pull out RBG values from an image and put them into separate arrays by channel. Then, add the contents of each variable into one number so I get a "total" of how much red, green, and blue is in an image. After that, I want to compare those values and make some decisions based upon that.

    The real tricky part will be doing shape analysis later... >.>

    Anyway, this page:
    http://imagemagick.org/Usage/quantize/#extract

    looks helpful, but I'm really unsure how to use imagick since I've never really used much PHP before.

    Thanks for any advice!
     
Thread Status:
Not open for further replies.