Can GD sharpen images??

Need help with Photoshop, the GIMP, Illustrator, or others? Want to show off your work? Looking for advice on your newest Flash stuff?

Moderator: General Moderators

Post Reply
User avatar
potsed
Forum Commoner
Posts: 50
Joined: Sat Oct 09, 2004 12:00 pm
Location: - South Africa

Can GD sharpen images??

Post by potsed »

Does anyone know of a way to sharpen images using gd...? or if it can be done?

:?: :idea: :!:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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..
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post 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.
Post Reply