차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
tech:php_getimagesize [2013/04/05 16:59] – 새로 만듦 V_Ltech:php_getimagesize [2021/07/29 21:41] (현재) – 이전 판으로 되돌림 (2016/07/12 09:26) 162.158.119.100
줄 1: 줄 1:
 +{{tag>php getimagesize}}
 +======Php Getimagesize======
 +
 +<code php>list($width, $height, $type, $attr) = getimagesize($imagesrc);</code>
 +
 +Returns a array with 4 elements.
 +The 0 index is the width of the image in pixels.
 +The 1 index is the height of the image in pixels.
 +The 2 index is a flag for the image type:
 +
 +1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP, 7 = TIFF(orden de bytes intel), 8 = TIFF(orden de bytes motorola), 9 = JPC, 10 = JP2, 11 = JPX, 12 = JB2, 13 = SWC, 14 = IFF, 15 = WBMP, 16 = XBM. 
 +
 +The 3 index contains ' height="yyy" width="xxx" '
 +  * 
 +
 +
 +^  누구나 수정하실 수 있습니다. [[http://vaslor.net/syntax|위키 사용법]] 참고하세요.  ^
 +
 +