Shawn,
Thanks to reply. After reading your message, I took a look at the code
generating my picture. I was using the function "imagecopyresiz ed" and it
seems that the result of this call was now a all black square. Don't know
why. I changed the creation of my destination image from "imagecreat e" to
"imagecreatetru ecolor" and it finally work fine. Don't know the initial
cause but have found an solution.
Yannick
Yannick Turgeon wrote:
I have a web page in which I create a simple PNG picture using PHP. It
was correctly displayed until I upgrade my PC (Linux/Mandrake 9.1). Now
my little picture is a black square!
Anyone knows the reason?
I've got those two png libraries installed. Does PHP need some more to
adequatly create and manage PNG pictures?
libpng3-devel 1.2.5-2mdk
libpng3-static-devel Version : 1.2.5-2mdk
What version of GD are you using? Are you getting any errors? Could you
post code snippets?
Shawn
--
Shawn Wilson
sh***@glassgian t.com
http://www.glassgiant.com