mismatching results with imread with different libpng ?
Hi,
I am trying to read .png image using opencv imread. I have opencv installed in different systems. I have observed that imread() results using these opencv libraries are not same. There opencv libraries have dependency on different versions of libpng.so, one has dependency on libpng16 and another has dependency on libpng12. Does libpng version dependency causes mismaching results ?
If there is a dependency, can u please provide me the steps to rebuild the opencv using libpng12 dependency ?
thanks, Hari
what if you use the 3rdparty libpng, that comes with opencv ? (so it won't try to link against your system's)
at least, it would be consistent across machines / oses.
cmake -DBUILD_PNG=ON -WITH_PNG=ON
Yes berak, if I built using 3rdparty libs it will be uniform but I want to know is there denpendency on libpng version?Does it cause different results?