user6462594
user6462594

Reputation:

what is role of libpng exactly?

I got security warning to my app from android market.

Google said my app should upgrade libpng version.

I use opencv in the app, and It seems like openCV use libpng library.

But I dont know how libpng library works.

Because I couldnt find libpng library in my project.

Is libpng library installed in OS (or OS`s common lib folder), and all applications refer to the library together ?

And libpng library is official library for viewing .png file ? (it means libpng is necessary for viewing png files in any OS system like iOS, MacOS, Windows, Unix and etc..)

My understanding is OK ? or Much wrong ?..

Upvotes: 1

Views: 1009

Answers (1)

Glenn Randers-Pehrson
Glenn Randers-Pehrson

Reputation: 12465

Yes, libpng is the library for processing PNG files. The warning is due to a security problem that was fixed in libpng in December 2015 and in OpenCV sometime thereafter. Google allowed six months for people to rebuild their apps with the current version of OpenCV and libpng, then started issuing the warning you're seeing. The same thing happens with apps using COCOS2DX. libpng depends upon zlib, so you should upgrade zlib as well if it isn't current.

Upvotes: 1

Related Questions