Jump to content

Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error


cooldude832

Recommended Posts

I just had that error with some code I was helping on not too long ago.

 

You are probably using the quality parameter but are giving it an invalid number -

 

quality

Compression level: from 0 (no compression) to 9.

 

Either they changed the range or the documentation was incorrect at some point in time.

  • 8 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.