Definition at line 33 of file ImageFactory.php.
◆ factory()
static factory |
( |
|
$filename | ) |
|
|
static |
Definition at line 35 of file ImageFactory.php.
37 #require_once 'Zend/Pdf/Exception.php'; 40 $extension = pathinfo($filename, PATHINFO_EXTENSION);
49 #require_once 'Zend/Pdf/Resource/Image/Tiff.php'; 53 #require_once 'Zend/Pdf/Resource/Image/Png.php'; 61 #require_once 'Zend/Pdf/Resource/Image/Jpeg.php'; 65 #require_once 'Zend/Pdf/Exception.php'; 66 throw new Zend_Pdf_Exception(
"Cannot create image resource. File extension not known or unsupported type.");
The documentation for this class was generated from the following file: