News Feed
Sections




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

PHPit.net:
Image manipulation with PHP & the GD library (Part 1)
August 01, 2006 @ 16:13:08

PHPit.net has posted part one of a new series of tutorials focusing on working with the GD graphics library inside of PHP.

In this new article series you will learn about PHP's inbuilt image functions. In the first part you will see how to open images, display or save them, and how to write a simple image converter.

They start with a look at reading images in to start working with, in both GIF and JPEG formats. To make things simpler for life down the road, they opt to create their own simple "open_image" function that adapts to whatever kind of file it's given and returns an image resource.

Then it's over to the output - displaying and saving the images out to a local drive. Finally, they demonstrate how to convert images from one file type to another (as uploaded via a HTML form).

1 comment voice your opinion now!
image manipulation graphics library tutorial part1 image manipulation graphics library tutorial part1


blog comments powered by Disqus

Similar Posts

Dave Marshall: Silex Controllers as Services

Lorna Mitchell: Beanstalk, Pheanstalk and Priorities

Jeremy Cook's Blog: Normalising DateTimes with Doctrine Events

Eli White's Blog: An intriguing use of lambda functions

Phil Sturgeon's Blog: How to: Multi-site CodeIgniter Set-up


Community Events





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


community tips framework podcast deployment introduction developer opinion laravel list symfony conference bugfix language library interview zendserver series release api

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