|
Posted by ZeldorBlat on 10/22/75 11:30
>Consider the following code:
>
><?php
>
>$image = imagecreatefromjpeg($_FILES['imagefile']['tmp_name']);
>$newimage = imagecopyresampled($image_p, $image, 0, 0, 0, 0, 200,
>$height*$ratio, $width, $height);
>
>?>
>
>How do I save $newimage as "images/image.jpg"?
imagejpeg($newimage, 'images/image.jpg');
[Back to original message]
|