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! 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 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 ! 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. Link to comment https://forums.phpfreaks.com/topic/124355-get-pixel-colors/#findComment-642242 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.