Bug #71316 [Com]: libpng warning from imagecreatefromstring

From: Date: Fri, 10 Jul 2020 10:35:52 +0000
Subject: Bug #71316 [Com]: libpng warning from imagecreatefromstring
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227930@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71316&edit=1 ID: 71316 Comment by: bugreports2 at gmail dot com Reported by: humbads at alum dot mit dot edu Summary: libpng warning from imagecreatefromstring Status: Open Type: Bug Package: GD related Operating System: FreeBSD 10.2 PHP Version: 5.6.17 Block user comment: N Private report: N New Comment: this just sucks wehn you verify that some file is really a png and get spewed by this messages (and no fileinfo is useless given that many errors it makes over years) libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: Interlace handling should be turned on when using png_read_image libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: CRC error Previous Comments: ------------------------------------------------------------------------ [2018-07-13 09:29:00] divinity76 at gmail dot com can't be captured with ob_start() either, does anybody have a workaround? ------------------------------------------------------------------------ [2018-07-13 08:31:00] divinity76+spam at gmail dot com can reproduce on php 7.1.17 @ ubuntu 17.10 (aka i inconveniently encountered this bug) ------------------------------------------------------------------------ [2016-09-05 09:47:14] cmb@php.net This appears to be a general libgd issue, so I've reported <https://github.com/libgd/libgd/issues/295> upstream. ------------------------------------------------------------------------ [2016-07-17 21:57:38] michael dot hartmann at refx dot com PHP 7.0.8 x64 on Windows. Same problem. Please fix. ------------------------------------------------------------------------ [2016-01-10 01:48:05] pajoye@php.net Thanks for your report! Hm. This is a libpng warning.I suppose they move this warning to a simple warning level. I will see if we can implement the warning only callback without introducing too much noises: png_structp png_create_read_struct(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn); only png_error is used now and generates php error. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=71316 -- Edit this bug report at https://bugs.php.net/bug.php?id=71316&edit=1

« previous php.bugs (#227930) next »