문서의 이전 판입니다!


Php Getimagesize

list($width, $height, $type, $attr) = getimagesize($imagesrc);

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" '


CC Attribution-Noncommercial-Share Alike 4.0 International 별도로 명시하지 않을 경우, 이 페이지의 내용은 다음 라이선스에 따라 사용할 수 있습니다: CC Attribution-Noncommercial-Share Alike 4.0 International
tech/php_getimagesize.1624773094.txt.gz · 마지막으로 수정됨 저자 61.74.132.138