On Apr 1, 4:02 pm, amit <amit.ko...@gma il.comwrote:
Hi group,
>
What is the best way to rersize an image to a specific width and
height?
>
Any samples?
>
Thanks.
Just to explain my case:
Currently I have a png file. it will be uploaded and then converted to
JPEG file. Either before conversion or after conversion (which is
better?) I need to change the size of it to be width=320 pixcel and
height =240 pixcel
On Apr 1, 4:19 pm, amit <amit.ko...@gma il.comwrote:
On Apr 1, 4:02 pm, amit <amit.ko...@gma il.comwrote:
>
Hi group,
>
What is the best way to rersize an image to a specific width and
height?
>
Any samples?
>
Thanks.
>
Just to explain my case:
>
Currently I have a png file. it will be uploaded and then converted to
JPEG file. Either before conversion or after conversion (which is
better?) I need to change the size of it to be width=320 pixcel and
height =240 pixcel
>
Thanks.
>
$jenny="poop/whatever.jpg";
>
imagejpeg($thum b,$jenny,70); imagedestroy($t humb); imagedestroy($g rab);
>
Add the above code that i snipped by mistake .
Thank you but it is so confusing the way it is written in terms of
variable names. Also, I get so many division by zero.
Comment