Page 1 of 1

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

Posted: 2011-01-06T01:24:23-07:00
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

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

Posted: 2011-01-11T11:49:28-07:00
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

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

Posted: 2011-01-16T06:36:48-07:00
by Dulfer
Upgrade Perl 5.8 to 5.10 and upgrade 300 ports depend on perl. Ok.