News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Mikko Koppanen's Blog:
Seam carving
0 comments :: posted Wednesday February 13, 2008 @ 17:10:00
voice your opinion now!

Mikko Koppanen has posted another quick hit ImageMagick hint to his blog - this time it deal with "seam carving", a process for cropping and resampling of an image to make a different composite picture.

Today I was reading trough the ImageMagick ChangeLog and noticed an interesting entry. "Add support for liquid rescaling". I rushed to check the MagickWand API docs and there it was: MagickLiquidRescaleImage! After about ten minutes of hacking the Imagick support was done. Needless to say; I was excited

You'll need to have the libqr library compiled into the ImageMagick installation, but the actual use of the functionality is simple - about three or four lines do the work for you. He includes the original image and the result from his test (as well as another example of the same result image scaled down automatically.

tagged with: imagemagick seam carving image resize libqr



PHP5 book zend developer conference code mysql release database PEAR security package application releases framework pecl job cakephp ajax zendframework

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