|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63912 imagick doesn't work after upgrade of ImageMagick
Submitted: 2013-01-05 20:35 UTC Modified: 2014-12-30 10:41 UTC
From: omega13a at yahoo dot com Assigned: mkoppanen (profile)
Status: No Feedback Package: imagick (PECL)
PHP Version: 5.4.10 OS: Fedora 14
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-01-05 20:35 UTC] omega13a at yahoo dot com
Last night, I upgraded ImageMagick to 6.8.1 patch 8 from 6.8.1 patch 3. This morning, I discovered a lot of errors on my website that are related to imagick. I tried recompiling imagick against the new version of ImageMagick to see if that would solve the problem. It didn't. Everything was perfectly fine before upgrading ImageMagick.

Test script:
$image = new Imagick("./textures/medres/geographos.jpg");
$image->scaleImage(732, 366, true);
header("Content-type: image/jpeg");
echo $image;

Expected result:
(this is just one example. There are currently many more on my website...) should display a scaled version of this image:

Actual result:
-------------- showed:

( ! ) Fatal error: Uncaught exception 'ImagickException' with message 'Empty input file `/var/www/clients/client1/web1/web/staff/omega13a/celestia/catalog/textures/medres/geographos.jpg' @ error/jpeg.c/JPEGErrorHandler/318' in /var/www/clients/client1/web1/web/staff/omega13a/celestia/includes/surface_map.php on line 84
( ! ) ImagickException: Empty input file `/var/www/clients/client1/web1/web/staff/omega13a/celestia/catalog/textures/medres/geographos.jpg' @ error/jpeg.c/JPEGErrorHandler/318 in /var/www/clients/client1/web1/web/staff/omega13a/celestia/includes/surface_map.php on line 84
Call Stack
#	Time	Memory	Function	Location
1	0.0008	126068	{main}( )	../index.php:0
2	0.0043	184564	include( '/var/www/clients/client1/web1/web/staff/omega13a/celestia/includes/content_page.php' )	../index.php:8
3	0.0439	3771408	require( '/var/www/clients/client1/web1/web/staff/omega13a/celestia/includes/surface_map.php' )	../content_page.php:106
4	0.0520	3763644	Imagick->__construct( '/var/www/clients/client1/web1/web/staff/omega13a/celestia/catalog/textures/medres/geographos.jpg' )	../surface_map.php:84


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-12-03 11:28 UTC]
-Assigned To: +Assigned To: mkoppanen
 [2013-12-03 12:54 UTC]
Is this still an issue?
 [2013-12-03 12:54 UTC]
-Status: Assigned +Status: Feedback
 [2014-12-30 10:41 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 15 05:01:31 2024 UTC