How to convert an image to greyscale using PHP
I was trying to find a neat way to grey out some “powered by” logos for a website I’m developing.
I remembered reading about this very thing in .net magazine/august 2009 (i191,p100), which said:
“Sponsor and associate logos can be a challenge for a designer who is making a valiant attempt to create a cohesive website layout. Logos can be contrasting colour schemes and can be displayed at a wide range of different aspect ratios. When faced with this challenge, I recommend greying out the logos and having them appear in their respective colours upon mouse-over. When placing logos next to each other, I’d consider using visual weight versus actual size to determine spacing.”
So, sure we’ve established that it’s a good idea, the question is how to achieve it…