ultrus Posted September 14, 2006 Share Posted September 14, 2006 Hi all,Here's a question with low priority. Can the GD2 library or other methods on the server apply advanced effects to images? One effect that I am interested in is "auto levels", like in Photoshop. Not to compare with Photoshop, but there are times when it would be nice to optimize the RGB spectrum of an image. Make the blacks blacker and whites whiter to a point where the script sees fit.One application would be adjusting webcam images. The cheaper cameras always make crappy greyish looking images. A simple auto level effect would help on the fly in a php script. I know there are some effect scripts out there for colorizing images. php.net has a sample posted on the page containing the image function. Any ideas on where to start? It's making my head spin, but I'm looking into the possibilities.Thanks much. ;D Quote Link to comment Share on other sites More sharing options...
Barand Posted September 14, 2006 Share Posted September 14, 2006 Functions to look atimagecolorat()imagesetpixel()imagegammacorrect() Quote Link to comment Share on other sites More sharing options...
ultrus Posted September 15, 2006 Author Share Posted September 15, 2006 ooo. nice. Thank you. I will figure out some formulas and post if I run into further questions. This helped me a LOT!! Quote Link to comment 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.