summaryrefslogtreecommitdiff
path: root/system/libraries/drivers/Image.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-26 11:24:50 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-26 11:24:50 -0800
commit3060a6f662da66008d57a461bf1c9b5b4aa2b002 (patch)
tree442fd290505817efc0324f2af6e01805cb7396aa /system/libraries/drivers/Image.php
parent1cd6a615bb47a33794e4a4f690c87a348ab752d7 (diff)
parent32d25dafd5b033338b6a9bb8c7c53edab462543a (diff)
Merge branch 'master' into talmdal_dev
Conflicts: modules/gallery/controllers/albums.php modules/gallery/controllers/movies.php modules/gallery/controllers/photos.php
Diffstat (limited to 'system/libraries/drivers/Image.php')
-rw-r--r--system/libraries/drivers/Image.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/libraries/drivers/Image.php b/system/libraries/drivers/Image.php
index f89ba953..39936c30 100644
--- a/system/libraries/drivers/Image.php
+++ b/system/libraries/drivers/Image.php
@@ -2,12 +2,12 @@
/**
* Image API driver.
*
- * $Id: Image.php 3769 2008-12-15 00:48:56Z zombor $
+ * $Id: Image.php 4679 2009-11-10 01:45:52Z isaiah $
*
* @package Image
* @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
+ * @copyright (c) 2007-2009 Kohana Team
+ * @license http://kohanaphp.com/license
*/
abstract class Image_Driver {
@@ -102,9 +102,11 @@ abstract class Image_Driver {
* @param array actions to execute
* @param string destination directory path
* @param string destination filename
+ * @param boolean render the image
+ * @param string background color
* @return boolean
*/
- abstract public function process($image, $actions, $dir, $file);
+ abstract public function process($image, $actions, $dir, $file, $render = FALSE, $background = NULL);
/**
* Flip an image. Valid directions are horizontal and vertical.