cooldude832 Posted April 2, 2008 Share Posted April 2, 2008 Does this mean I can't rewrite pngs? Link to comment https://forums.phpfreaks.com/topic/99115-warning-imagepng-functionimagepng-gd-png-fatal-libpng-error-zlib-error/ Share on other sites More sharing options...
PFMaBiSmAd Posted April 2, 2008 Share Posted April 2, 2008 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. Link to comment https://forums.phpfreaks.com/topic/99115-warning-imagepng-functionimagepng-gd-png-fatal-libpng-error-zlib-error/#findComment-507136 Share on other sites More sharing options...
cooldude832 Posted April 2, 2008 Author Share Posted April 2, 2008 so png quality is 1-10 instead of 1-100? Link to comment https://forums.phpfreaks.com/topic/99115-warning-imagepng-functionimagepng-gd-png-fatal-libpng-error-zlib-error/#findComment-507159 Share on other sites More sharing options...
creativodev Posted December 12, 2008 Share Posted December 12, 2008 If you want to find the explanation of WHY it is failing and how to fix it go to this webpage: http://www.coderemix.com/tutorials/imagepng-fatal-libpng-error Link to comment https://forums.phpfreaks.com/topic/99115-warning-imagepng-functionimagepng-gd-png-fatal-libpng-error-zlib-error/#findComment-713445 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.