Re: Creating Images
| From: | Curt Zirzow | Date: | Thu, 04 Sep 2003 23:59:51 +0000 |
| Subject: | Re: Creating Images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161705@lists.php.net to get a copy of this message | ||
* Thus wrote Jed R. Brubaker (jed.brubaker@psych.utah.edu):
> I have been trying to write some image creation scripts, and although I have
> a version of PHP that includes image support, I keep getting errors related
> to imagecreatefrompng(). Here is the latest error:
>
> Fatal error: Call to undefined function: imagecreatefrompng() in
> /web/html-docs/psych/jb4920/public_html/pic/picture.php on line 12
>
> Isn't imagecreatfrompng() a built in function? Anyone run across something
> like this or a suggestion?
You need the png libraries installed. configure usually can figure
out where they are at but sometimes you may have to issue a
configure [other options] --with-png-dir=/path/to/libpng/dir/
Curt
--
"I used to think I was indecisive, but now I'm not so sure."