header('content-type:image/gif');
$im= imagecreate(200,600);
$where = imagecolorallocate($im,225,66,159);
imagegif($im);

在用GD库创建图像后 输出之后要指定是以哪一种的格式进行输出,否则会出现乱码

相关文章:

  • 2021-08-25
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
  • 2022-12-23
  • 2021-06-21
  • 2021-07-30
猜你喜欢
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2021-08-22
  • 2021-08-14
  • 2021-12-02
  • 2022-12-23
相关资源
相似解决方案