Re: Re: Bug #17912 Updated: getting info from gd.so

From: Date: Fri, 21 Jun 2002 22:42:51 +0000
Subject: Re: Re: Bug #17912 Updated: getting info from gd.so
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-85481@lists.php.net to get a copy of this message
On Sat, 22 Jun 2002 derick@php.net wrote: > Hey, > > I thought I fixed this already.... Ah... but not for the 2.0 things. I'll have a look tomorrow and fix it. Derick > > Derick > > On Fri, 21 Jun 2002, Markus Fischer wrote: > > > This reminds me: don't we want to remove those code elements: > > > > #ifdef HAVE_WHATEVER_GD_FEATURE > > doit > > #else > > php_error(E_WARNIGN, "not supported in this buil" > > #endif > > > > so finally "function_exists" makes sense here. I'ld like to > > see this happening before 4.3 .... > > > > reasonable or not? Maybe I miss something ... > > > > - Markus > > > > On Fri, Jun 21, 2002 at 07:57:41PM -0000, rasmus@php.net wrote : > > > ID: 17912 > > > Updated by: rasmus@php.net > > > Reported By: tit.petric@telemach.net > > > -Status: Open > > > +Status: Bogus > > > Bug Type: GD related > > > Operating System: linux debian/mandrake > > > PHP Version: 4.2.1 > > > New Comment: > > > > > > phpinfo() does show the GD version. Between versions 1.6 and 1.8 there > > > was no way to distinguish, so it is approximate, but other versions > > > should be shown just fine. As for figuring out which image types are > > > available, use imagetypes() > > > > > > > > > Previous Comments: > > > ------------------------------------------------------------------------ > > > > > > [2002-06-21 15:54:39] tit.petric@telemach.net > > > > > > 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 this bug report at > > > http://bugs.php.net/?id=17912&edit=1 > > > > -- > > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc > > Did I help you? http://guru.josefine.at/wish_en > > Konnte ich helfen? http://guru.josefine.at/wish_de > > "uhmm.. the dates in the bug db.. aren't they printed a bit wrong, i mean, did > > i miss when we changed to 53 days/month ( +2002-02-53) ? =P - N0v3ll > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > --------------------------------------------------------------------------- > Did I help you? > http://www.derickrethans.nl/link.php?url=giftlist > Frequent ranting: http://www.derickrethans.nl/ > --------------------------------------------------------------------------- > PHP: Scripting the Web - derick@php.net > All your branches are belong to me! > SRM: Script Running Machine - www.vl-srm.net > --------------------------------------------------------------------------- > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > --------------------------------------------------------------------------- Did I help you? http://www.derickrethans.nl/link.php?url=giftlist Frequent ranting: http://www.derickrethans.nl/ --------------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net ---------------------------------------------------------------------------

« previous php.dev (#85481) next »