| Stefan Neufeind 2004-06-28, 8:58 am |
| On Mon, 28 Jun 2004 at 13:47:08, Martin wrote:
> trying to run the Image_Text example-scripts ends in the following=20
> errors:
>=20
> Warning : imagecolorallocate(): supplied argument is not a valid Image=
=20
> resource in /usr/home/mabraham.de/htdocs/misc/example.php on line 93
>=20
> Warning : imagefilledellipse(): supplied argument is not a valid Image=
=20
> resource in /usr/home/mabraham.de/htdocs/misc/example.php on line 95
>=20
> Warning : imagepng(): supplied argument is not a valid Image resource=20
> in /usr/local/share/pear/Image/Text.php on line 1004
I don't yet have a quick idea, since you seem to have GD-support and FreeTy=
pe=20
already present in ysour PHP. Could you maybe try to track down what resour=
ce=20
is supplied in the lines indicated by this error? I suppose it's a PEAR_Err=
or,=20
so dumping the error-message might give a clue.
Are you sure you are correctly referencing an existing TTF-fontfile in the=
=20
example?
Good luck,
Stefan
|