ZF-7818: Zend_Pdf: Image Drawing does not work with PHP 5.3.0

Issue Type: Bug Created: 2009-09-10T02:28:35.000+0000 Last Updated: 2009-11-12T12:16:58.000+0000 Status: Resolved Fix version(s): Reporter: Matthias Eichholz (me.) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Pdf

Related issues: - ZF-6715



Trying to draw an image with the Zend_Pdf component ends up with the error 'JPG support is not configured properly.' The Problem is a improvement in PHP 5.3.0. In the file Zend/Pdf/Resource/Image/Jpeg.php you can find the following if statement on line 60/61:

$gd_options = gd_info(); if (!$gd_options['JPG Support'] ) {

With the version 5.3.0 of PHP the "JPG Support" attribute has been renamed to "JPEG Support".


Posted by Tobias Petry (ice-breaker) on 2009-09-11T02:35:19.000+0000

Bug Report is a duplicate of ZF-6715

Have you found an issue?

See the Overview section for more details.


© 2006-2022 by Zend by Perforce. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.