note 95749 added to function.imagerotate

From: Date: Wed, 20 Jan 2010 09:34:54 +0000
Subject: note 95749 added to function.imagerotate
Groups: php.notes 
Request: Send a blank email to php-notes+get-165125@lists.php.net to get a copy of this message
This function apparently contains a memory leak. Because of this, it was kept out of the GD library that comes with Ubuntu (and I assume other OS'es, too). So, If you are running Ubuntu and wonder why you get "Call to undefined function imagerotate()" even though you seemingly have the correct GD lib installed, this is why. Use the alternative supplied by beau at dragonflydevelopment dot com instead. It works flawlessly (for angles in steps of 90 degrees). On a side-note, some other GD image functions (unfortunately, the more interesting ones) suffer from the same problem and are kept out of the Ubuntu distribution as well. ---- Server IP: 91.199.167.223 Probable Submitter: 194.109.1.36 ---- Manual Page -- http://www.php.net/manual/en/function.imagerotate.php Edit -- https://master.php.net/note/edit/95749 Del: integrated -- https://master.php.net/note/delete/95749/integrated Del: useless -- https://master.php.net/note/delete/95749/useless Del: bad code -- https://master.php.net/note/delete/95749/bad+code Del: spam -- https://master.php.net/note/delete/95749/spam Del: non-english -- https://master.php.net/note/delete/95749/non-english Del: in docs -- https://master.php.net/note/delete/95749/in+docs Del: other reasons-- https://master.php.net/note/delete/95749 Reject -- https://master.php.net/note/reject/95749 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#165125) next »