'ImagickException' - error/png.c/ReadPNGImage/3183'

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
Dulfer
Posts: 7
Joined: 2011-01-06T00:43:25-07:00
Authentication code: 8675308

'ImagickException' - error/png.c/ReadPNGImage/3183'

Post by Dulfer »

I do not speak English
Only code

Code: Select all

echo 'getVersion: ';
var_dump (Imagick::getVersion()).' <br />'; 

$image_file = 'firefox-error.png';

exec("/usr/local/bin/identify -verbose ".$image_file,$out);   
print_r($out);    

$im = new Imagick(); 
$im->readImage($image_file); 
echo 'getImageFormat: ';
var_dump($im->getImageFormat()).' <br />';
See attachment debug_imagick.zip

Sample image and code - tmp.zip

OS - FreeBSD 8.0 RELEASE
PHP- 5.2.16
pecl-imagick - 3.0.1 (downgrade to 3.0.0 - no result)
ImageMagick 6.6.5.10 (it works)

A service to Internet, all ok
OS - FreeBSD 8.1 STABLE
PHP- 5.2.16
pecl-imagick - 3.0.0
ImageMagick 6.6.2.10

I will answer only 8.01
Attachments
tmp.zip
(38.53 KiB) Downloaded 1257 times
debug_imagick.zip
(9.72 KiB) Downloaded 1271 times
Dulfer
Posts: 7
Joined: 2011-01-06T00:43:25-07:00
Authentication code: 8675308

Re: 'ImagickException' - error/png.c/ReadPNGImage/3183'

Post by Dulfer »

Does anyone work?
PHP-5.2.16 (17)
ImageMagick-6.6.5 (6 or 7)
imagick-3.0.1
png-1.4.5
Dulfer
Posts: 7
Joined: 2011-01-06T00:43:25-07:00
Authentication code: 8675308

Re: 'ImagickException' - error/png.c/ReadPNGImage/3183'

Post by Dulfer »

Upgrade Perl 5.8 to 5.10 and upgrade 300 ports depend on perl. Ok.
Post Reply