ID: 15288
User updated by: [EMAIL PROTECTED]
Old Summary: Image*-functions being avail even if they're not
implemented by gd
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.1.1
New Comment:

.. this does however not cover the TTF*-functions.


Previous Comments:
------------------------------------------------------------------------

[2002-01-29 23:06:03] [EMAIL PROTECTED]

There is already a clean way to check which image formats are
supported:

http://www.php.net/manual/en/function.imagetypes.php

------------------------------------------------------------------------

[2002-01-29 20:53:30] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=15288&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to