diff -r 000000000000 -r 4eba9c11703f web/Zend/Pdf/Resource/Image.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Pdf/Resource/Image.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,73 @@ +_resource->dictionary->Type = new Zend_Pdf_Element_Name('XObject'); + $this->_resource->dictionary->Subtype = new Zend_Pdf_Element_Name('Image'); + } + /** + * get the height in pixels of the image + * + * @return integer + */ + abstract public function getPixelHeight(); + + /** + * get the width in pixels of the image + * + * @return integer + */ + abstract public function getPixelWidth(); + + /** + * gets an associative array of information about an image + * + * @return array + */ + abstract public function getProperties(); +} +