Sonic and Sega Retro Message Board: PHP & imagick help - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Page 1 of 1
    Locked
    Locked Forum

PHP & imagick help Gathering RGB values

#1 User is offline Spexfox 

Posted 01 June 2008 - 01:04 PM

  • Posts: 646
  • Joined: 02-January 04
  • Gender:Male
  • Location:West Coast - USA
  • Wiki edits:49
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.o...antize/#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!

Page 1 of 1
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users