RE: imagecreatefromjpeg()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Check phpinfo() and see what options it was compiled with - at the very
least you need gd support (--with-gd) and probably need to specify
(--with-jpeg-dir) to point to jpeg libs.  Aside from your configure
line, you should be able to see from perusing whether the image
functions are supported.  If you're using a packaged php, I would assume
these to already be enabled - strange.

The last comment on http://us2.php.net/function.imagecreatefromjpeg
suggests as much.

- Martin Norland, Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.


-----Original Message-----
From: Perry, Matthew (Fire Marshal's Office)
[mailto:Matthew.Perry@xxxxxxxxxxxx] 
Sent: Friday, October 22, 2004 1:45 PM
To: php-db@xxxxxxxxxxxxx
Subject:  imagecreatefromjpeg()


I am using PHP 4.1

 

Why would the php function imagecreatefromjpeg() not be recognized?

 

Fatal error: Call to undefined function: imagecreatefromjpeg() in
C:\Program Files\Apache Group\Apache2\htdocs\Inventory\updateitem.php on
line 77

 

-Matthew Perry

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux