php에서 이미지 타입 확인

사용서버에서 사용할수 잇는 이미지 확인.


var_dump(gd_info());
?>

gd_info


구조 : array gd_info ( void )


기능 : Retrieve information about the currently installed GD library


Returns an associative array describing the version and capabilities of the installed GD library. 표 1. Elements of array returned by gd_info()AttributeMeaningGD Versionstring value describing the installed libgd version.Freetype Supportboolean value. TRUE if Freetype Support is installed.Freetype Linkagestring 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 Supportboolean value. TRUE if T1Lib support is included.GIF Read Supportboolean value. TRUE if support for reading GIF images is included.GIF Create Supportboolean value. TRUE if support for creating GIF images is included.JPG Supportboolean value. TRUE if JPG support is included.PNG Supportboolean value. TRUE if PNG support is included.WBMP Supportboolean value. TRUE if WBMP support is included.XBM Supportboolean value. TRUE if XBM support is included.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2005/02/04 17:03 2005/02/04 17:03
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/64

Trackback URL : http://tcbs17.cafe24.com/tc/trackback/64

« Previous : 1 : ... 232 : 233 : 234 : 235 : 236 : 237 : 238 : 239 : 240 : ... 324 : Next »

블로그 이미지

- 홍반장

Archives

Recent Trackbacks

Calendar

«   2024/11   »
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Statistics Graph

Site Stats

Total hits:
240131
Today:
783
Yesterday:
712