Ticket #358: Image.php.patch
| File Image.php.patch, 0.6 kB (added by dynom, 11 months ago) |
|---|
-
system/libraries/Image.php
old new 2 2 /** 3 3 * Manipulate images using standard methods such as resize, crop, rotate, etc. 4 4 * This class must be re-initialized for every image you wish to manipulate. 5 * 5 * 6 6 * $Id: Image.php 1863 2008-01-29 15:59:11Z Geert $ 7 7 * 8 8 * @package Image … … 246 246 * @param integer quality as a percentage 247 247 * @return object 248 248 */ 249 public function quality($ amount)249 public function quality($value) 250 250 { 251 251 $this->actions['quality'] = max(1, min($amount, 100)); 252 252
