PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Apr 22, 2018 7:25 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Can GD sharpen images??
PostPosted: Sun Oct 10, 2004 11:18 am 
Offline
Forum Commoner
User avatar

Joined: Sat Oct 09, 2004 12:00 pm
Posts: 50
Location: - South Africa
Does anyone know of a way to sharpen images using gd...? or if it can be done?

:?: :idea: :!:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 12:32 pm 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA
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..


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 21, 2004 6:35 pm 
Offline
Jedi Mod
User avatar

Joined: Tue Dec 21, 2004 6:03 pm
Posts: 5263
Location: usrlab.com
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group