News Feed
Sections




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

Stoyan Stefanov's Blog:
Laziest image resize in PHP
December 14, 2006 @ 09:19:00

On phpied.com, there's this new post that shares Stoyan's lazy way to resize images in PHP - with the help of the PEAR::Image_Transform package.

Today I saw a post at digg.com on image resizing with PHP and there was quite a discussion. Let me share the laziest way (that I know of) how to do it - PEAR::Image_Transform is all it takes.

His code is only five lines log and takes in a JPG image and resizes it down to a 100x100 pixel image to output as a PNG. He also mentions some of the other functionality the package has, including lots of other image manipulation extensions.

2 comments voice your opinion now!
image resize pear package imagetransform image resize pear package imagetransform


blog comments powered by Disqus

Similar Posts

DevShed: Working with Images and Text Flows in PDF Files with PHP 5

Manfred Weber's Blog: Consuming PHP SOAP Webservices with Flash - Part I

Dan Scott's Blog: PEAR File_MARC 0.1.0 alpha officially released

Pierre-Alain Joye's Blog: PEAR 1.4.11 released

PHPMac.com: XAMPP 0.5 on Intel Macs


Community Events





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


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

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