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

IBM developerWorks: Get started with Project Zero and PHP

Rob Allen: Implementing a ZF2 development mode

SitePoint PHP Blog: How to Install PHP Extensions from Source

DevShed: Generating View from MySQL to Simulate the Model-View-Controller Schema in PHP

DevShed: Magic Functions in PHP 5


Community Events





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


api community voicesoftheelephpant series symfony framework laravel release opinion install language interview tips introduction list bugfix deployment podcast library package

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