friendica-directory icon indicating copy to clipboard operation
friendica-directory copied to clipboard

libpng warning:

Open ghost opened this issue 6 years ago • 9 comments

libpng warning: Interlace handling should be turned on when using png_read_image

ghost avatar Nov 23 '18 12:11 ghost

What version are you running? The new one (version 2 onward) or the legacy dir project?

MrPetovan avatar Nov 23 '18 14:11 MrPetovan

The new one 2.1.0

ghost avatar Nov 23 '18 16:11 ghost

I can't find any resource online about this error pertaining to a specific PHP code snippet, Can you please check your libpng version?

MrPetovan avatar Nov 25 '18 01:11 MrPetovan

identify -list format | grep PNG JNG* PNG rw- JPEG Network Graphics MNG* PNG rw+ Multiple-image Network Graphics (libpng 1.6.34) PNG* PNG rw- Portable Network Graphics (libpng 1.6.34) See http://www.libpng.org/ for details about the PNG format. PNG00* PNG rw- PNG inheriting bit-depth, color-type from original if possible PNG24* PNG rw- opaque or binary transparent 24-bit RGB (zlib 1.2.11) PNG32* PNG rw- opaque or transparent 32-bit RGBA PNG48* PNG rw- opaque or binary transparent 48-bit RGB PNG64* PNG rw- opaque or transparent 64-bit RGBA PNG8* PNG rw- 8-bit indexed with optional binary transparency root@mail:~#

ghost avatar Nov 25 '18 06:11 ghost

Thanks, there was that one issue that was supposed to be solved in libpng 1.5.something, but you already are at version 1.6.

I've got nothing. 🤷‍♂️

MrPetovan avatar Nov 25 '18 07:11 MrPetovan

libpng warning: Interlace handling should be turned on when using png_read_image

I can confirm this warring that's clogging up my log too. I'm on libpng 1.6.28 version.

AndyHee avatar Dec 23 '18 08:12 AndyHee

I'm looking at the discussions here: https://sourceforge.net/p/libpng/bugs/237/ the warning might actually relate to PHP.

AndyHee avatar Dec 23 '18 08:12 AndyHee

Yeah, I feel like we've been doing image manipulation wrong for a while.

MrPetovan avatar Dec 23 '18 13:12 MrPetovan

OK, no worries.

AndyHee avatar Dec 23 '18 15:12 AndyHee