avalanche123/Imagine — pull request #141 by romainneutron (2012-07-19 17:01:25+00:00)
Title: Use \Imagick::resizeImage instead of \Imagick::thumbnailImage for resizing

[![Build Status](https://secure.travis-ci.org/romainneutron/Imagine.png?branch=ImagickResize)](http://travis-ci.org/romainneutron/Imagine)

`\Imagick::thumbnailImage` strip the image (remove color profiles) for display on the web. It's not the expected behavior.

Switching to the `Imagick::resizeImage` provides a better way to resize and let us the possibility to customize the resize algorithm (in the future).

---

see differences :
http://www.php.net/manual/en/imagick.thumbnailimage.php
http://www.php.net/manual/en/imagick.resizeimage.php

**note** :
- Gmagick driver already implement the analog method
- The thumbnail method of the `\Imagine\Image` give the access to the `\Imagick::thumbnailImage` through the `\Imagine\Image::thumbnail` method