#21436 [Opn->Bgs]: Call to undefined function: imagecreatefromjpeg()
| From: | derick@php.net | Date: | Sun, 05 Jan 2003 19:22:51 +0000 |
| Subject: | #21436 [Opn->Bgs]: Call to undefined function: imagecreatefromjpeg() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29126@lists.php.net to get a copy of this message | ||
ID: 21436
Updated by: derick@php.net
Reported By: marius@ee.utt.ro
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: Linux
PHP Version: 4.3.0
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2003-01-05 13:15:21] marius@ee.utt.ro
function resize($file) //voici la fonction qui redimensionne les
images
{
$size = getimagesize("test/$file");
$dest_width = ($size[0]/6); //détermine la taille
$dest_eight = ($size[1]/6);
$src_img = imagecreatefromjpeg("test/$file");
$dst_img = imagecreatetruecolor($dest_width,$dest_eight);
imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0,$dest_width,
$dest_eight, $size[0], $size[1]);
// la fonction qui redimensionne les photos
imagejpeg($dst_img, "test/mini_$file",100);
imagedestroy($src_img);
imagedestroy($dst_img);
}
resize("oras.jpg");
?>
Call to undefined function: imagecreatefromjpeg()
'./configure' '--with-apxs2=/newapache/bin/apxs'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21436&edit=1