imagecreatefromgd2part
(PHP 4 >= 4.0.7, PHP 5)
imagecreatefromgd2part — Create a new image from a given part of GD2 file or URL
Description
resource imagecreatefromgd2part
( string $filename
, int $srcX
, int $srcY
, int $width
, int $height
)
Warning
此函數目前沒有參考文件;只有引數列表。
Tip
如果 fopen wrappers 已啟動,則可藉此函數把檔名當成URL使用。參考 fopen() 有更多關於如何指定檔名的細節和List of Supported Protocols/Wrappers支援URL協定的列表。
Parameters
- filename
-
- srcX
-
- srcY
-
- width
-
- height
-
Notes
Note: This function requires GD 2.0.1 or later (2.0.28 or later is recommended).
Warning
PHP 4.3.0 之前的 Windows PHP版本不支援由此函數存取遠端檔案,即使啟動allow_url_fopen選項。