1

I downloaded 3.28 then tried to run the example 'about.php'

I get the following error message

Fatal error: Call to undefined function imagecreatefrompng() in C:\Inetpub\wwwroot\html2pdf\_mypdf\03_fpdf_alpha.class.php on line 136

2

I used the following url
http://localhost/html2pdf/exemples/about.php

I am trying to get it working newly out of the box so to speak. Is there something I am doing wrong in this?

3

the function createfrompng use the GD2 extension : http://fr2.php.net/manual/fr/function.imagecreatefrompng.php

you have to activate this extension in you php.ini

or you can just not use PNG file with alpha wink
Ancien pseudo : lolo

4

I switched off IIS and used my wamp server and the example worked. GD2 was ticked on the PHP extensions in WAMP.
To get php support for IIS working, I associated the PHP executable (php5isapi.dll) found in the WAMP library and it works. How will I get IIS now to load the PHP.INI so it knows to load the GD extenstion? I am a newbie in these matters, sorry about that.

5

Got the answer, thanks.