Bug #15288: Image*-functions being avail even if they're not implemented by gd

From: Date: Wed, 30 Jan 2002 01:53:31 +0000
Subject: Bug #15288: Image*-functions being avail even if they're not implemented by gd
Groups: php.dev 
Request: Send a blank email to php-dev+get-78488@lists.php.net to get a copy of this message
From: matslin@orakel.ntnu.no Operating system: All PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: Image*-functions being avail even if they're not implemented by gd The Image*-functions specific for different formats are available even if they're not supported in GD. Even though this is understandable, a better practice would probably be to disable these functions, since they're not available.(so they can be checked for existance in runtime, instead of relying on errors passed back from gd) It shouldnt be much of a change, since i was able to create the desired effect using a few #ifdef's - and i've only got spare knowledge of c. http://software.e-mats.org/patches/gd_4.1.1.diff contains the diff for the gd.c-file from 4.1.1. that i used for testing. -- Edit bug report at: http://bugs.php.net/?id=15288&edit=1

« previous php.dev (#78488) next »