Home > Backend Development > PHP Tutorial > imagecolorallocate 分配失败解决办法

imagecolorallocate 分配失败解决办法

WBOY
Release: 2016-06-13 12:35:24
Original
891 people have browsed it

imagecolorallocate 分配失败

<br />
$imageHand = imagecreatefromgif("images/mb.gif");<br />
$color = imagecolorallocate($imageHand,0,0,0);<br />
var_dump($color);<br />
Copy after login


但我的这个imagecolorallocate总是分配失败,导致以后的字体全部是白色,看不清楚,请问大哥们这是什么清空啊  我擦 死都找不到原因啊

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template