Changeset 2007 for trunk/system/libraries/drivers/Image/GD.php
- Timestamp:
- 02/09/2008 12:37:51 AM (11 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/drivers/Image/GD.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/drivers/Image/GD.php
r1989 r2007 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * GD Image Driver. 4 * 5 * $Id$ 6 * 7 * @package Image 8 * @author Kohana Team 9 * @copyright (c) 2007-2008 Kohana Team 10 * @license http://kohanaphp.com/license.html 11 */ 3 12 class Image_GD_Driver extends Image_Driver { 4 13 … … 240 249 // Create the temporary image to copy to 241 250 $img = $this->imagecreatetransparent($properties['width'], $properties['height']); 242 251 243 252 // Execute the resize 244 253 if ($status = imagecopyresampled($img, $this->tmp_image, 0, 0, 0, 0, $properties['width'], $properties['height'], $width, $height))
