Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Zend_Pdf_Resource_Image Class Reference
Inheritance diagram for Zend_Pdf_Resource_Image:
Zend_Pdf_Resource Zend_Pdf_Resource_Image_Jpeg Zend_Pdf_Resource_Image_Png Zend_Pdf_Resource_Image_Tiff

Public Member Functions

 __construct ()
 
 getPixelHeight ()
 
 getPixelWidth ()
 
 getProperties ()
 
- Public Member Functions inherited from Zend_Pdf_Resource
 __construct ($resource)
 
 __clone ()
 
 cloneResource ($factory, &$processed)
 
 getResource ()
 
 getFactory ()
 

Additional Inherited Members

- Protected Attributes inherited from Zend_Pdf_Resource
 $_objectFactory
 
 $_resource
 

Detailed Description

Definition at line 40 of file Image.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Object constructor.

Definition at line 45 of file Image.php.

46  {
47  parent::__construct('');
48 
49  $this->_resource->dictionary->Type = new Zend_Pdf_Element_Name('XObject');
50  $this->_resource->dictionary->Subtype = new Zend_Pdf_Element_Name('Image');
51  }

Member Function Documentation

◆ getPixelHeight()

getPixelHeight ( )
abstract

get the height in pixels of the image

Returns
integer

◆ getPixelWidth()

getPixelWidth ( )
abstract

get the width in pixels of the image

Returns
integer

◆ getProperties()

getProperties ( )
abstract

gets an associative array of information about an image

Returns
array

The documentation for this class was generated from the following file: