Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2009 08:26:37 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        ale@FreeBSD.org
Cc:        freebsd-ports@freebsd.org
Subject:   php5-gd PNG support broken
Message-ID:  <4ADFFB1D.2070003@bsdforen.de>

next in thread | raw e-mail | index | archive | help
I've got the following problem with php5-gd:

Warning: imagecreatefrompng() [function.imagecreatefrompng]: gd-png: fatal libpng error: [00][00][00][00]: unknown critical chunk in /usr/home/kamikaze/devel/workspace/realmsofsorrow/nightmare/core/nmTemplate.class.php on line 385

Warning: imagecreatefrompng() [function.imagecreatefrompng]: gd-png error: setjmp returns error condition in /usr/home/kamikaze/devel/workspace/realmsofsorrow/nightmare/core/nmTemplate.class.php on line 385

Warning: imagecreatefrompng() [function.imagecreatefrompng]: './templates/neo/layout/header_stretch.png' is not a valid PNG file in /usr/home/kamikaze/devel/workspace/realmsofsorrow/nightmare/core/nmTemplate.class.php on line 385


I get this message for all PNGs. I checked the files with Firefox,
and Gimp, they are all whole. They are also displayed by the e17
file browser, which relies on libpng.

My system:
FreeBSD mobileKamikaze.norad 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Jul  3 10:26:33 CEST 2009     root@mobileKamikaze.norad:/usr/obj/HP6510b/amd64/usr/src/sys/HP6510b  amd64

libpng:
png-1.2.40

php5-gd:
php5-gd-5.2.11_1

Regards



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ADFFB1D.2070003>