Skip to content

Commit

Permalink
Use scaleImage instead of resizeImage to provide the most default beh…
Browse files Browse the repository at this point in the history
…avior
  • Loading branch information
Woody Gilk committed Feb 1, 2011
1 parent 8cbc955 commit 6857c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/kohana/image/imagick.php
Expand Up @@ -64,7 +64,7 @@ public function __destruct()

protected function _do_resize($width, $height)
{
if ($this->im->resizeImage($width, $height, Imagick::FILTER_CUBIC, 0.5))
if ($this->im->scaleImage($width, $height))
{
// Reset the width and height
$this->width = $this->im->getImageWidth();
Expand Down

0 comments on commit 6857c7c

Please sign in to comment.