(PHP 4, PHP 5, PHP 7)
imagesx — ȡ��ͼ����
$image
) : int
imagesx() ����
image
�������ͼ��Ŀ�ȡ�
Example #1 ʹ�� imagesx()
<?php
// create a 300*200 image
$img = imagecreatetruecolor(300, 200);
echo imagesx($img); // 300
?>
�μ� imagecreatetruecolor()��getimagesize() �� imagesy()��