News Feed
Sections




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

Mikko Koppanen's Blog:
Seam carving
February 13, 2008 @ 17:10:00

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.

0 comments voice your opinion now!
imagemagick seam carving image resize libqr


blog comments powered by Disqus

Similar Posts

NETTUTS.com: 15 Wonderfully Creative Uses for PHP

Philip Norton's Blog: Creating A Thumbnail Of A Word Document With PHP And LiveDocx

PHPMaster.com: Extract Objects from an Access Database with PHP, Part 2

Asvin Balloo's Blog: AJAX image cropper with YUI and PHP

DevShed: An Image is Worth a Thousand Words in PHP


Community Events

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


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

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