hi parker!
i have a image .. named
"albums/myphotos/danny.jpg";
the width = 600Px, and Height=400Px;
i want to reduce this to 100Px by 75Px sized image.
Line1: $size = GetImageSize("albums/myphotos/danny.jpg");
Line:2 $width = $size[0];
Line:3 $height = $size[1];
Line4:$sourceim = ImageCreateFromJpeg("albums/myphotos/danny.jpg");
Line5:dstim = iamgecreate(100,75);
Line6:$newimage=imagecopyresized($dstim,$sourceim,0,0,0,0,100,75,$width,$height);
Line7:ImageGIF($newimage,"albums/image.gif");
Line:8 echo "<img src=\"albums/image.gif\">";
when i execute this ... php says ..
Warning:ImageCreateFromJpeg: No JPEG support in this PHP build in /usr/local/httpd/htdocs/danny/gall/myimggal/test.php on line 4
Warning:Supplied argument is not a valid Image resource in /usr/local/httpd/htdocs/danny/gall/myimggal/test.php on line 6
Warning:ImageGif: No GIF support in this PHP build in /usr/local/httpd/htdocs/danny/gall/myimggal/test.php on line 7
i got know that this function is removed from GD version 1.6 and above.
is it possible to resize my image in any method other than this ..
thanks,
danny