note 31604 rejected from function.imagecopyresized by didou

From: Date: Fri, 20 Jun 2003 12:17:02 +0000
Subject: note 31604 rejected from function.imagecopyresized by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-50718@lists.php.net to get a copy of this message
Note Submitter: vc.falacomigo@bol.com.br ---- The routine described below is good for just one file, I don´t know why it does not work for "n". In this situation only one convertion is shown, the other files are not shown on loop. Then how would be a routine that could show "n" images converted and listed in only one page? ## routine ## <? header("Content-type: image/jpeg"); $nova_largura = 100; $nova_altura = 100; $imagem = "D:\Formatura0012.JPG"; $img_origem = imagecreatefromjpeg($imagem); $img_destino = imagecreatetruecolor($nova_largura,$nova_altura); imagecopyresampled($img_destino,$img_origem,0,0,0,0,$nova_largura, $nova_altura,imagesx($img_origem), imagesy($img_origem)); imageJPEG($img_destino); ?> ## routine ## How to make? thank: Olavo Alexandrino

« previous php.notes (#50718) next »