@@ 228-234 (lines=7) @@ | ||
225 | } |
|
226 | ||
227 | $this->image = $this->image->deconstructImages(); |
|
228 | } else { |
|
229 | if ($this->image->scaleImage($width, $height) !== true) { |
|
230 | throw new ImageException('There was an error resizing the image'); |
|
231 | } |
|
232 | ||
233 | $this->image->setImagePage(0, 0, 0, 0); |
|
234 | } |
|
235 | } |
|
236 | ||
237 | /** |
|
@@ 265-271 (lines=7) @@ | ||
262 | } |
|
263 | ||
264 | $this->image = $this->image->deconstructImages(); |
|
265 | } else { |
|
266 | if ($this->image->cropImage($width, $height, $x, $y) !== true) { |
|
267 | throw new ImageException('There was an error cropping the image'); |
|
268 | } |
|
269 | ||
270 | $this->image->setImagePage(0, 0, 0, 0); |
|
271 | } |
|
272 | } |
|
273 | ||
274 | /** |