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: What's new in PHP V5.2, Part 4: Using the new ZIP extension

Greg Bulmash's Blog: Creating A Simple Rating Script With PHP And MySQL

PHPFreaks.com: Protecting php applications with PHPIDS

C7Y: Step Away From the SuperGlobals! An Introduction to Inspekt

Lorna Mitchell's Blog: Getting Dates from Week Numbers in PHP


Community Events

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


php7 example podcast interview introduction framework version series community api symfony2 library laravel extension opinion performance install release voicesoftheelephpant conference

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