Page 1 of 1

Grayscale. Faster method

Posted: Wed Feb 14, 2007 12:46 pm
by Mgccl
http://www.phpgd.com/articles.php?article=6&page=1

I have check out that and it could be pretty slow if its operated on a large image
I think we can use the imagefilter function

Code: Select all

imagefilter($image, IMG_FILTER_GRAYSCALE);
Would this one be faster? of cause it can't do all 4 grayscale system presented in the article, but it suppose to be faster because it is run by the GD library instead of the PHP script.