News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Filtering Image Streams with the GD Library in PHP
August 27, 2007 @ 11:25:00

DevShed concludes their series on using the GD graphics libraries in PHP with thie new article focusing on the use of some of the simple filtering functionality the library has to offer.

In this article I'm going to demonstrate how the GD library can be used to apply some basic graphic filters (yes, like Photoshop, but much simpler) by utilizing the versatility of a brand new function called "imagefilter()". As you'll see shortly, with this function it is possible to reverse, blur and highlight the colors of a determined image, as well as convert it to its grayscale version, among other things.

They use the imagefilter function in a few different examples - altering the colors in an image, working with contrast and brightness and various other filters (like smoothing, embossing, blurring and colorizing).

0 comments voice your opinion now!
gd tutorial library filter blur smooth colorize emboss brightness contrast gd tutorial library filter blur smooth colorize emboss brightness contrast


blog comments powered by Disqus

Similar Posts

DevShed: Implementing Property Overloading in PHP 4

ZendCasts.com: Setting up Zend_HTTP_UserAgent

Zend Developer Zone: AJAX Chat Tutorial

Attila Szabo's Blog: Send SMS messages from your website through smsBug gateway

Zend Developer Zone: An Introduction to the Art of Unit Testing in PHP


Community Events

Don't see your event here?
Let us know!


opinion api introduction series extension framework unittest version security interview community voicesoftheelephpant language library release laravel5 threedevsandamaybe symfony laravel podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework