私は次のコードを使用しています:私はWindows 7の 約1つの詳細にinstaled 2.7のver apatchを使用していますGD2 imagegrabscreen fatal error?
Fatal error: Call to undefined function: imagegrabscreen() in c:\usr\krasnal\www\testy marcina\index.php on line 2
:私はこれを取得結果として
<?php
$im = imagegrabscreen();
imagepng($im, "myscreenshot.png");
imagedestroy($im);
?>
そして私をGD:
GD Version: bundled (2.0.28 compatible)
FreeType Support: yes
FreeType Linkage: with freetype
T1Lib Support: no
GIF Read Support: yes
GIF Create Support: yes JPG Support: yes
PNG Support: yes
WBMP Support: yes
XBM Support: yes
JIS-mapped Japanese Font Support: no
何が問題なのですか。
PHPのバージョンは何? – julio