From: Michael M Slusarz Date: Tue, 16 Feb 2010 00:41:57 +0000 (-0700) Subject: ws X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e6941f512788d02ebde35469732d5374e708ba12;p=horde.git ws --- diff --git a/framework/Image/lib/Horde/Image/Base.php b/framework/Image/lib/Horde/Image/Base.php index 419a9fbde..0e97750a8 100644 --- a/framework/Image/lib/Horde/Image/Base.php +++ b/framework/Image/lib/Horde/Image/Base.php @@ -96,7 +96,7 @@ abstract class Horde_Image_Base Implements Iterator * @param array */ protected $_context; - + /** * Constructor. * @@ -106,7 +106,7 @@ abstract class Horde_Image_Base Implements Iterator { $this->_params = $params; $this->_context = $context; - + if (empty($context['tmpdir'])) { throw new InvalidArgumentException('A path to a temporary directory is required.'); } @@ -442,5 +442,5 @@ abstract class Horde_Image_Base Implements Iterator * @return integer */ abstract function getImagePageCount(); - + } diff --git a/framework/Image/lib/Horde/Image/Im.php b/framework/Image/lib/Horde/Image/Im.php index 5ecf27aea..2ac9435f1 100644 --- a/framework/Image/lib/Horde/Image/Im.php +++ b/framework/Image/lib/Horde/Image/Im.php @@ -29,7 +29,7 @@ class Horde_Image_Im extends Horde_Image_Base 'canvas', 'multipage', 'pdf'); - + /** * Operations to be performed before the source filename is specified on the * command line. @@ -68,7 +68,7 @@ class Horde_Image_Im extends Horde_Image_Base * @string */ protected $_identify; - + /** * Cache the number of image pages * @@ -649,7 +649,7 @@ class Horde_Image_Im extends Horde_Image_Base } $rawImage = $this->_raw(true, $index, true); $image = new Horde_Image_Im(array('data' => $rawImage), $this->_context); - + return $image; } @@ -680,7 +680,7 @@ class Horde_Image_Im extends Horde_Image_Base $this->_logErr(sprintf("Error running command: %s", $cmd . "\n" . implode("\n", $output))); } unlink($filename); - + return $output; } }