diff options
Diffstat (limited to 'application/libraries/Image')
-rw-r--r-- | application/libraries/Image/Drivers/imagemagick.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/application/libraries/Image/Drivers/imagemagick.php b/application/libraries/Image/Drivers/imagemagick.php index 33e62ffe4..e65d05d3e 100644 --- a/application/libraries/Image/Drivers/imagemagick.php +++ b/application/libraries/Image/Drivers/imagemagick.php @@ -80,14 +80,14 @@ class imagemagick implements \libraries\Image\ImageDriver { public function resize($width, $height) { $this->arguments[] = "-resize"; - $this->arguments[] = "${width}x${height}"; + $this->arguments[] = "{$width}x{$height}"; } public function crop($x, $y, $width, $height) { $this->arguments[] = "+repage"; $this->arguments[] = "-crop"; - $this->arguments[] = "${width}x${height}+${x}+${y}"; + $this->arguments[] = "{$width}x{$height}+{$x}+{$y}"; $this->arguments[] = "+repage"; } @@ -100,11 +100,11 @@ class imagemagick implements \libraries\Image\ImageDriver { $this->apply_exif_orientation(); $this->arguments[] = "-thumbnail"; - $this->arguments[] = "${target_width}x${target_height}^"; + $this->arguments[] = "{$target_width}x{$target_height}^"; $this->arguments[] = "-gravity"; $this->arguments[] = "center"; $this->arguments[] = "-extent"; - $this->arguments[] = "${target_width}x${target_height}^"; + $this->arguments[] = "{$target_width}x{$target_height}^"; } public function apply_exif_orientation() |