if you know which image causes the problem just create a file:
 
<?php
 
$im = imagecreatefrompng('filename.png');
 
?>
 
open through your webserver and see what happens. Which PHP version are you running? Possibly consider upgrading...

Andreas Goetz
cpuidle@gmx.de
http://www.cpuidle.de
 



From: videodb-devel-admin@lists.sourceforge.net [mailto:videodb-devel-admin@lists.sourceforge.net] On Behalf Of Ludwig.Hurt
Sent: Sonntag, 20. Februar 2005 08:34
To: videodb-devel@lists.sourceforge.net
Subject: [videodb-devel] Re : RE: Problems with PDF generation

Please can you tell me how to do it or where I can read how to do it?
Thx



 I"d suggest creating a simple text file that will only load your one
 specific png that has the problem, then see what happens.
  
 Cheers,
 Andi

Ludwig.Hurt schrieb:
 
   _____  
 
 From: videodb-devel-admin@li...
 [mailto:videodb-devel-admin@li...] On Behalf Of Ludwig.Hurt
 Sent: Samstag, 19. Februar 2005 12:02
 To: videodb-devel@li...
 Subject: [videodb-devel] Problems with PDF generation
 
 
 Hi,
 I"m not too deep into PHP, so I want to ask you if someone has any idea why
 the error message
 Fatal error: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible
 libpng version in application and library in
 /var/www/html/web380/html/videodb/core/pdf.php on line 81
 is displayed. It obviosly indicates that there seems to be a problem with
 the line
             case "png": $im = imagecreatefrompng($file);    break;
 
 What I don"t know is if I have to blame my installation or that of my
 webspace provider.
 
 Can anybody help me?
 
 Thanks in advance
--