Changeset 2709
- Timestamp:
- 05/28/2008 05:36:40 PM (6 months ago)
- Location:
- trunk/system/libraries/drivers/Image
- Files:
-
- 2 modified
-
GD.php (modified) (1 diff)
-
ImageMagick.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/drivers/Image/GD.php
r2007 r2709 48 48 49 49 // Set the "save" function 50 switch (s ubstr($file, strrpos($file, '.') + 1))50 switch (strtolower(file::extension($file))) 51 51 { 52 52 case 'jpg': -
trunk/system/libraries/drivers/Image/ImageMagick.php
r2593 r2709 32 32 if (empty($config['directory'])) 33 33 { 34 // Attempt to locate IM by using "which" 34 // Attempt to locate IM by using "which" (only works for *nix!) 35 35 if ( ! is_file($path = exec('which convert'))) 36 36 throw new Kohana_Exception('image.imagemagick.not_found');
