Bug #17912: getting info from gd.so

From: Date: Fri, 21 Jun 2002 19:54:40 +0000
Subject: Bug #17912: getting info from gd.so
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11740@lists.php.net to get a copy of this message
From: tit.petric@telemach.net Operating system: linux debian/mandrake PHP version: 4.2.1 PHP Bug Type: GD related Bug description: getting info from gd.so im having trouble determinating to which version of GD gd.so was linked to, phpinfo() only shows the acctual version of gd.so, but not the version of GD it was linked to.. some variable to show the acctual gd version (major and minor) would be nice, so i and other people would know how to dynamically use image* functions according to that variable, because setting up each server with platform-dependant code is a bit time consuming, and coding two different image libraries or graphing libraries which use GD is also a waste of time, if just a few functions change their names and behaviour. example would be.. if ($GD_VERSION=='1') { imagecopyresized(...); } else { imagecopyresampled(...); } be a sweetheart and add that :* (otherwise excelent work) -- Edit bug report at http://bugs.php.net/?id=17912&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17912&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17912&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17912&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17912&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17912&r=support Expected behavior: http://bugs.php.net/fix.php?id=17912&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17912&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17912&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17912&r=globals

« previous php.bugs (#11740) next »