create a new image c and combine image a,image b with image c

解决方案 »

  1.   

    Warning: imagecopy(): supplied argument is not a valid Image resource
    这是什么原因?
    我的gd2库装了(windows下,extension=php_gd2.dll前面的;去掉了)
      

  2.   

    测试gd库,显示
    array(11) { ["GD Version"]=> string(27) "bundled (2.0.28 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) } 
    应该是没问题可为什么老出现Warning: imagecopy(): supplied argument is not a valid Image resource