Try
ImageCreateFromJPEG( )
and
ImageCopyResampled( )
(see manual)
Nop
----- Original Message -----
From: "Super Powerfulrez" <powerfulrez@g...>
To: "professional php" <pro_php@p...>
Sent: Tuesday, September 11, 2001 8:20 PM
Subject: [pro_php] about pictures and thumbnails
> i want to upload a picture and let the php resize the picture to a
specific height and width
> save the file to something like '01_th.jpg' and insert this data to the
database
> i know i can create images using the gd function but how?
> can any 1 tell me the syntax of resizing?
>
> benjamin
>
>