note 28979 deleted from function.imagecopyresized by didou

From: Date: Wed, 20 Aug 2003 11:46:18 +0000
Subject: note 28979 deleted from function.imagecopyresized by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54742@lists.php.net to get a copy of this message
Note Submitter: Mauricio ---- [Editor's Note] I modified the note so it contains a working script [/Note] Does anyone know how so create e new file from the newly sized image created with codes like this one ??? <? $new_w=100; $new_h=100; header("Content-type: image/gif"); $dst_img=ImageCreate($new_w,$new_h); $src_img=ImageCreateFromGif("./imgtest.gif"); ImageCopyResized ($dst_img,$src_img,0,0,0,0,$new_w,$new_h,ImageSX ($src_img),ImageSY($src_img)); $img = ImageGif($dst_img); echo $img; ?>

« previous php.notes (#54742) next »