Page 1 of 1

Can GD sharpen images??

Posted: Sun Oct 10, 2004 11:18 am
by potsed
Does anyone know of a way to sharpen images using gd...? or if it can be done?

:?: :idea: :!:

Posted: Sun Oct 10, 2004 12:32 pm
by feyd
it can be done. Although I don't know of any functions to do it natively. It and many other things can be done with a matrix effector called a convolver. You can sharpen, blur, edge enhance, motion blur, etc with convolvers..

Posted: Tue Dec 21, 2004 5:35 pm
by onion2k
Yeah.. convolution filtering.. I wrote an article about it for my site:

http://www.ooer.com/index.php?section=php&id=3

Its complicated, and that code isn't particularly flexible unfortunately. But it works. Sort of. :wink: The code includes filters for gausian blur, smoothing, sharpening, and a bunch of edge detection routinues.