ID:               21436
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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

Reply via email to