note 91761 added to function.imagerotate

From: Date: Wed, 24 Jun 2009 21:25:30 +0000
Subject: note 91761 added to function.imagerotate
Groups: php.notes 
Request: Send a blank email to php-notes+get-157442@lists.php.net to get a copy of this message
Don't be tricked into thinking this function will rotate the image resource handle in-place. While the documentation currently doesn't specify and return values, I've found the following return values to be true: "Returns an image resource identifier on success, FALSE on errors. " Simply make sure you're doing something like... <?php $rotated_img = imagerotate($src_img, 45, $color) ?> -Mike ---- Server IP: 64.71.164.2 Probable Submitter: 69.29.15.5 ---- Manual Page -- http://www.php.net/manual/en/function.imagerotate.php Edit -- https://master.php.net/note/edit/91761 Del: integrated -- https://master.php.net/note/delete/91761/integrated Del: useless -- https://master.php.net/note/delete/91761/useless Del: bad code -- https://master.php.net/note/delete/91761/bad+code Del: spam -- https://master.php.net/note/delete/91761/spam Del: non-english -- https://master.php.net/note/delete/91761/non-english Del: in docs -- https://master.php.net/note/delete/91761/in+docs Del: other reasons-- https://master.php.net/note/delete/91761 Reject -- https://master.php.net/note/reject/91761 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#157442) next »