Anim9or Posted September 15, 2008 Share Posted September 15, 2008 I'm almost afraid to ask this question because I fear it's impossible to do on PHP I have a concept that I used to have on Java that I would like to try out on PHP, however I need to be able to return the Red, Green, or Blue of a pixel in an uploaded picture. If anyone can help me find a tutorial or help I'd be very grateful. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/124355-get-pixel-colors/ Share on other sites More sharing options...
ratcateme Posted September 15, 2008 Share Posted September 15, 2008 have a look at http://us.php.net/manual/en/function.imagecolorat.php Quote Link to comment https://forums.phpfreaks.com/topic/124355-get-pixel-colors/#findComment-642223 Share on other sites More sharing options...
Anim9or Posted September 15, 2008 Author Share Posted September 15, 2008 Looks like it will work, thank you ! Quote Link to comment https://forums.phpfreaks.com/topic/124355-get-pixel-colors/#findComment-642240 Share on other sites More sharing options...
DarkWater Posted September 15, 2008 Share Posted September 15, 2008 Just to let you know, you'll need to have the GD library installed and you'll need to learn how to use it. Quote Link to comment https://forums.phpfreaks.com/topic/124355-get-pixel-colors/#findComment-642242 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.