Sponsored Content
The Lounge What is on Your Mind? Should We Cancel Spotify in Support of Neil Young? Post 303046378 by Neo on Sunday 30th of January 2022 12:30:18 AM
 

2 More Discussions You Might Find Interesting

1. Solaris

I am too young not to be able to resolve myself...nslookup problem (no DNS available)

I don't have DNS, and would like to resolve EVERYTHING through local /etc/hosts file. My first sunbox has the following configuration: # hostname mybox.home.com My host file is as follows: # cat /etc/hosts # # Internet host table # 127.0.0.1 localhost 192.25.x.x ... (6 Replies)
Discussion started by: mr_manny
6 Replies

2. What is on Your Mind?

I Am Calling All Unix Experts Young Mind In Need

My name is Courtney Robinson, and I am just a young man trying to figure out were he wants his life to head. I am currently in school for Computer Science and have once class left and jsut figured out I hate programming. However I am in love with Storage (SAN), UNIX, LINUX. I want to learn more.... (10 Replies)
Discussion started by: Courtney3216
10 Replies
GD_INFO(3)								 1								GD_INFO(3)

gd_info - Retrieve information about the currently installed GD library

SYNOPSIS
array gd_info (void ) DESCRIPTION
Gets information about the version and capabilities of the installed GD library. RETURN VALUES
Returns an associative array. Elements of array returned by gd_info(3) +-------------------+---------------------------------------------------+ | Attribute | | | | | | | Meaning | | | | +-------------------+---------------------------------------------------+ | GD Version | | | | | | | | | | string value describing the installed libgd ver- | | | sion. | | | | | FreeType Support | | | | | | | | | | boolean value. TRUE if FreeType Support is | | | installed. | | | | | FreeType Linkage | | | | | | | | | | string value describing the way in which FreeType | | | was linked. Expected values are: 'with freetype', | | | 'with TTF library', and 'with unknown library'. | | | This element will only be defined if FreeType | | | Support evaluated to TRUE. | | | | | T1Lib Support | | | | | | | | | | boolean value. TRUE if T1Lib support is | | | included. | | | | | GIF Read Support | | | | | | | | | | boolean value. TRUE if support for reading GIF | | | images is included. | | | | |GIF Create Support | | | | | | | | | | boolean value. TRUE if support for creating GIF | | | images is included. | | | | | JPEG Support | | | | | | | | | | boolean value. TRUE if JPEG support is included. | | | | | PNG Support | | | | | | | | | | boolean value. TRUE if PNG support is included. | | | | | WBMP Support | | | | | | | | | | boolean value. TRUE if WBMP support is included. | | | | | XBM Support | | | | | | | | | | boolean value. TRUE if XBM support is included. | | | | | WebP Support | | | | | | | | | | boolean value. TRUE if WebP support is included. | | | | +-------------------+---------------------------------------------------+ Note Previous to PHP 5.3.0, the JPEG Support attribute was named JPG Support. EXAMPLES
Example #1 Using gd_info(3) <?php var_dump(gd_info()); ?> The above example will output something similar to: array(9) { ["GD Version"]=> string(24) "bundled (2.0 compatible)" ["FreeType Support"]=> bool(false) ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(false) ["JPEG Support"]=> bool(false) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=> bool(false) } CHANGELOG
+--------+------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+------------------------------------------------+ | 5.5.0 | | | | | | | | | | WebP Support added. | | | | | 5.3.0 | | | | | | | | | | JPG Support attribute renamed to JPEG Support. | | | | +--------+------------------------------------------------+ SEE ALSO
imagepng(3), imagejpeg(3), imagegif(3), imagewbmp(3), imagetypes(3). PHP Documentation Group GD_INFO(3)
All times are GMT -4. The time now is 10:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy