Jump to content

Graphics extension library


Yesideez

Recommended Posts

How can I check if this is installed on the server and if not, where can I get it and install it?

I need to be able to check whether a file is a valid image file (JPEG/GIF) and to possibly check its dimensions and to maybe even resize it.

Come to think of it, I can't remember what the extension is called!
Link to comment
https://forums.phpfreaks.com/topic/17530-graphics-extension-library/
Share on other sites

How would I check for that? All I've done in the past is make sites and I've not really got in too deep with anything else?

I noticed at the bottom of phpinfo() it seems I might have it installed as I get this with var_dump(gd_info()):

array(11) { ["GD Version"]=> string(27) "bundled (2.0.28 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) }

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.