News Feed
Sections




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

Zend Developer Zone:
Manipulating Images with PHP and GraphicsMagick
September 29, 2009 @ 11:56:38

The Zend Developer Zone has a new tutorial from Vikram Vaswani on working with GraphicsMagik to create and manipulate images in your PHP scripts.

Based on the robust, multi-threaded GraphicsMagick library, aka the "Swiss Army knife of image processing", PHP's GraphicsMagick extension allows developers to add street cred to their image (sorry, I couldn't resist!) with some fairly powerful API methods. This article discusses the extension in detail, introducing you to its key functions and showing you how to rotate, resample, transform, crop, carve, and otherwise mangle your images until they roll over and beg for mercy.

The tutorial looks at how to get the package installed (both from source or as a pecl package) and how to check and make sure it's up and working. The sample scripts included show you how to grab the info about an image, resize it, write it out to a file, rotate/flip it and do a few other fun tricks (including using built-in filters).

0 comments voice your opinion now!
graphicsmagik tutorial image manipulate


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: How to Upload Images Using PHP

Piotr Walczyszyn's Blog: Configuring Eclipse PDT & Flash Builder 4 Plug-in for PHP/Flex development

SitePoint PHP Blog: Understanding Drupal's EntityFieldQuery

Evan Coury's Blog: Using Zend\Dbs TableGateway & HydratingResultSet to return rows as custom enties

Gonzalo Ayuso's Blog: Real time notifications with PHP


Community Events





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


series release composer security symfony introduction interview podcast voicesoftheelephpant language version opinion community mvc framework update package tool laravel library

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