note 40036 added to function.imagerotate

From: Date: Thu, 19 Feb 2004 15:48:04 +0000
Subject: note 40036 added to function.imagerotate
Groups: php.notes 
Request: Send a blank email to php-notes+get-65405@lists.php.net to get a copy of this message
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); ?> ---- Manual Page -- http://www.php.net/manual/en/function.imagerotate.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40036 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40036&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40036&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65405) next »