cvs: pear /Image_Transform Image_Transform_NetPBM.php
| From: | Peter Bowyer | Date: | Fri, 17 May 2002 15:29:39 +0000 |
| Subject: | cvs: pear /Image_Transform Image_Transform_NetPBM.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3900@lists.php.net to get a copy of this message | ||
reywob Fri May 17 11:29:39 2002 EDT
Modified files:
/pear/Image_Transform Image_Transform_NetPBM.php
Log:
Fixed a couple of typos
Index: pear/Image_Transform/Image_Transform_NetPBM.php
diff -u pear/Image_Transform/Image_Transform_NetPBM.php:1.1
pear/Image_Transform/Image_Transform_NetPBM.php:1.2
--- pear/Image_Transform/Image_Transform_NetPBM.php:1.1 Thu May 16 14:08:26 2002
+++ pear/Image_Transform/Image_Transform_NetPBM.php Fri May 17 11:29:39 2002
@@ -15,7 +15,7 @@
// | Authors: Peter Bowyer <peter@mapledesign.co.uk> |
// +----------------------------------------------------------------------+
//
-// $Id: Image_Transform_NetPBM.php,v 1.1 2002/05/16 18:08:26 reywob Exp $
+// $Id: Image_Transform_NetPBM.php,v 1.2 2002/05/17 15:29:39 reywob Exp $
//
// Image Transformation interface using command line NetPBM
//
@@ -97,7 +97,7 @@
'color' => 'red',
'font' => 'Arial.ttf',
'size' => '12',
- 'angle' => 0;
+ 'angle' => 0,
'resize_first' => false // Carry out the scaling of
the image before annotation?
);
$params = array_merge($default_params, $params);
@@ -126,6 +126,7 @@
} // switch
$cmd .= IMAGE_TRANSFORM_LIB_PATH . 'ppmto' . $this->type . ' ' .
$args . ' > ' . $filename . ' 2>&1';
passthru($cmd);
+ $this->command = array();
} // End save
/**
@@ -155,7 +156,7 @@
} // switch
$cmd .= IMAGE_TRANSFORM_LIB_PATH . 'ppmto' . $type . ' ' . $arg .
' 2>&1';
passthru($cmd);
- }
+ $this->command = array();
}