$imageHand = Imagecreatefromgif ("Images/mb.gif"), $color = Imagecolorallocate ($imageHand, 0,0,0); Var_dump ($color);
But my this imagecolorallocate always allocation failure, resulting in the future font is all white, can not see clearly, I would like to ask the elder brother this is what empty ah I wipe dead can not find the reason AH
Reply to discussion (solution)
What's wrong with the report?
Post your picture
Using Imagecreatetruecolor to create an image can be, is not your image is 8bit, this is not possible.
What's wrong with the report?
Post your picture
It's just a mistake, and I'm going to do it manually. Var_dump This color variable returns a false every time
Using Imagecreatetruecolor to create an image can be, is not your image is 8bit, this is not possible.
Ask the boss how to view the picture is not 8bit AH
Using Imagecreatetruecolor to create an image can be, is not your image is 8bit, this is not possible.
Ask the boss how to view the picture is not 8bit AH
Your assignment of color is not successful, that should be the problem.
Wouldn't it be nice if you posted the picture?