Changeset 1855
- Timestamp:
- 01/28/2008 04:28:29 PM (12 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/drivers/Image/GD.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/drivers/Image/GD.php
r1852 r1855 24 24 public function process($image, $actions, $dir, $file) 25 25 { 26 // Set the "create" function 26 27 switch ($image['type']) 27 28 { … … 37 38 } 38 39 40 // Set the "save" function 39 41 switch (substr($file, strrpos($file, '.') + 1)) 40 42 { … … 295 297 )); 296 298 297 self::$blank_png_width = 40; 298 self::$blank_png_height = 40; 299 // Set the blank PNG width and height 300 self::$blank_png_width = imagesx(self::$blank_png); 301 self::$blank_png_height = imagesy(self::$blank_png); 299 302 } 300 303
