[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] PHP 4.3.0 w/ GD 2 on Raq4 - imagecreatefromjpeg() not working
- Subject: [cobalt-users] PHP 4.3.0 w/ GD 2 on Raq4 - imagecreatefromjpeg() not working
- From: "Montz, James C. (James Tower)" <JCMontz@xxxxxxxxxxxxxx>
- Date: Thu Jan 9 08:38:39 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Successfully got PHP 4.3.0 with GD 2, FreeType 2 installed and running, but
have 1 issue so far,
PHP will not recognize the imagecreatefromjpeg() function, as I receive the
following error:
Fatal error: Call to undefined function: imagecreatefromjpeg() in
/home/sites/site25/users/dev/web/combine.php on line 10
Imagecreatefrompng() does seem to work properly.
----------------------------------------------------
PHP Simple Image Test Code:
<?
$im = ImageCreateFromJPEG('image.jpg'); //create JPEG Image from a Source
file
ImageJPEG($im); // output to browser
ImageDestroy($im); // destroy image pointer
?>
Packages Installed:
freetype-2.0.3-7.i386.rpm
freetype2-2.0.1-ximian.1.i386.rpm
freetype2-devel-2.0.1-ximian.1.i386.rpm
freetype-devel-2.0.3-7.i386.rpm
libjpeg-6b-16.i386.rpm
libjpeg-devel-6b-16.i386.rpm
libpng-1.0.14-0.7x.3.i386.rpm
libpng-devel-1.0.14-0.7x.3.i386.rpm
libstdc++-2.96-112.7.2.i386.rpm