cvs: pear /Image_Transform/Driver GD.php

[email protected] ("Christian Weiske")
Newsgroups php.pear.cvs
Message-ID <cvscweiske1209416937@cvsserver>
cweiske		Mon Apr 28 21:08:57 2008 UTC

  Modified files:              
    /pear/Image_Transform/Driver	GD.php 
  Log:
  Implement request #12926: Add function to return GD image handle
  
  
http://cvs.php.net/viewvc.cgi/pear/Image_Transform/Driver/GD.php?r1=1.36&r2=1.37&diff_format=u
Index: pear/Image_Transform/Driver/GD.php
diff -u pear/Image_Transform/Driver/GD.php:1.36 pear/Image_Transform/Driver/GD.php:1.37
--- pear/Image_Transform/Driver/GD.php:1.36	Wed Nov 28 19:18:47 2007
+++ pear/Image_Transform/Driver/GD.php	Mon Apr 28 21:08:57 2008
@@ -21,7 +21,7 @@
  * @author     Philippe Jausions <[email protected]>
  * @copyright  2002-2005 The PHP Group
  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
- * @version    CVS: $Id: GD.php,v 1.36 2007/11/28 19:18:47 jausions Exp $
+ * @version    CVS: $Id: GD.php,v 1.37 2008/04/28 21:08:57 cweiske Exp $
  * @link       http://pear.php.net/package/Image_Transform
  */
 
@@ -154,6 +154,18 @@
     } // End load
 
     /**
+     * Returns the GD image handle
+     *
+     * @return resource
+     *
+     * @access public
+     */
+    function getHandle()
+    {
+        return $this->imageHandle;
+    }//function getHandle()
+
+    /**
      * Adds a border of constant width around an image
      *
      * @param int $border_width Width of border to add
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.