note 40036 deleted from function.imagerotate by aidan

From: Date: Mon, 04 Oct 2004 07:06:02 +0000
Subject: note 40036 deleted from function.imagerotate by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-77888@lists.php.net to get a copy of this message
Note Submitter: gulli gullijo at NoSpAM dot gulli dot net ---- allrite, this may be a later addidition, a fix to the function or some oversight by me but it seems to that the following will do just what you are trying to achieve: <?php $filename = "filename.jpg"; $degrees = 90; $src_img = imagecreatefromjpeg($filename); $src_img = imagerotate($src_img, $degrees, 0); ImageJPEG($src_img, $filename); ?>

« previous php.notes (#77888) next »