pnggroup / libpng

LIBPNG: Portable Network Graphics support, official libpng repository
http://libpng.sf.net
Other
1.25k stars 611 forks source link

How to disable warnings #537

Closed enes-oezdemir closed 7 months ago

enes-oezdemir commented 7 months ago

Hi all, I am using opencv to do some operations but libpng is writing the warning to stderr. I don't want to print warnings how can I disable it? is there a way to disable using an environment variable?

libpng warning: bKGD: invalid