Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/lib/Image/Transform.php between version 1.3 and 1.4

version 1.3, 2015/07/02 16:38:46 version 1.4, 2015/07/03 14:09:51
Line 198  class Image_Transform
Line 198  class Image_Transform
      * @see PEAR::isError()       * @see PEAR::isError()
      * @see Image_Transform::setOption()       * @see Image_Transform::setOption()
      */       */
     function &factory($driver = '')      public static function &factory($driver = '')
     {      {
         if ($driver == '') {          if ($driver == '') {
             $extensions = array(              $extensions = array(
Line 970  class Image_Transform
Line 970  class Image_Transform
      * @return PEAR_error       * @return PEAR_error
      * @access protected       * @access protected
      */       */
     function _resize()      function _resize($new_x, $new_y, $options = null)
     {      {
         return PEAR::raiseError('Resize method not supported by driver',          return PEAR::raiseError('Resize method not supported by driver',
             IMAGE_TRANSFORM_ERROR_UNSUPPORTED);              IMAGE_TRANSFORM_ERROR_UNSUPPORTED);
Line 1163  class Image_Transform
Line 1163  class Image_Transform
      *       *
      * @return void       * @return void
      */       */
     function addText()      function addText($params)
     {      {
         return PEAR::raiseError('addText() method not supported by driver',          return PEAR::raiseError('addText() method not supported by driver',
             IMAGE_TRANSFORM_ERROR_UNSUPPORTED);              IMAGE_TRANSFORM_ERROR_UNSUPPORTED);
Line 1175  class Image_Transform
Line 1175  class Image_Transform
             IMAGE_TRANSFORM_ERROR_UNSUPPORTED);              IMAGE_TRANSFORM_ERROR_UNSUPPORTED);
     }      }
   
     function addBorder()      function addBorder($border_width, $color = '')
     {      {
         return PEAR::raiseError('addBorder() method not supported by driver',          return PEAR::raiseError('addBorder() method not supported by driver',
             IMAGE_TRANSFORM_ERROR_UNSUPPORTED);              IMAGE_TRANSFORM_ERROR_UNSUPPORTED);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top