News Feed
Sections




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

php|architect:
Image Processing with Imagine
March 07, 2011 @ 10:53:42

New from the php|architect blog, there's a tutorial from Mike Willbanks about using Imagine to transform images dynamically in a more object-oriented way.

Image processing in PHP is a necessary evil but is needed more often than not in just about every web application. With the various preferences in image processing libraries (think ImageMagick, GraphicsMagick and GD) it is difficult to find a library that provides a unified object oriented interface as well as implementing the general tasks in a simplistic fashion. Imagine is an open source image manipulation library built with PHP 5.3 that implements an object oriented interface to ImageMagick, GraphicsMagick and GD

Mike gives a quick sample script that uses SPL autoloading to pull in the classes as they're needed (with the "imagineLoader" method) and make a basic thumbnail from a PNG file.

0 comments voice your opinion now!
imagine image process manipulate oop autoload


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: What’s your plan for __autoload()?

thePHP.cc: Software Development Fluxx

Vexxhost.com: Top 5 new (and cool!) features in PHP5 that you probably haven't heard of

Matthew Weier O'Phinney's Blog: Autoloading Doctrine and Doctrine entities from Zend Framework

Joseph Crawford's Blog: MySpace PHP REST Library


Community Events

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


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

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