|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-12-03 11:28 UTC] mike@php.net
-Assigned To:
+Assigned To: mkoppanen
[2013-12-03 12:54 UTC] mkoppanen@php.net
[2013-12-03 12:54 UTC] mkoppanen@php.net
-Status: Assigned
+Status: Feedback
[2014-12-30 10:41 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 18:00:01 2025 UTC |
Description: ------------ 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: --------------- <?php $image = new Imagick("./textures/medres/geographos.jpg"); $image->scaleImage(732, 366, true); $image->setImageFormat("jpeg"); $image->setImageCompressionQuality(100); $image->writeImage($thumb); header("Content-type: image/jpeg"); echo $image; Expected result: ---------------- (this is just one example. There are currently many more on my website...) http://www.fedtrek.com/staff/omega13a/celestia/catalog/index.php?mode=surface_map&type=moon&num=11&parent_id=43787&star=139 should display a scaled version of this image: http://www.fedtrek.com/staff/omega13a/celestia/catalog/textures/medres/geographos.jpg Actual result: -------------- http://www.fedtrek.com/staff/omega13a/celestia/catalog/index.php?mode=surface_map&type=moon&num=11&parent_id=43787&star=139 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