... (and IOParams.DpiY) with ReadPNGStream in 10.0.1
It was correct in 9.2 but in 10.0.1 it delivers 99 dpi instead of the correct 100 DPI.
Tinkering with the code I saw in pngfilt.pas that in 10.0.1 the png params were read with IEWicRead(...) as default -> {ifdef INCLUDEWIC} whereas in 9.2 the native code below was executed with the correct result.
Reverting that resolved my problem so far - but please include a fix for the next version.
I tried to attach some example files - that was not possible; email me for examples if needed.
It's a 64bit App and by changing comfortable to IEGlobalSettings().PNGEngine := ieenDLL; and using the dll: ->IO.paramsfromfile delivers the correct FDPIX of 100dpi. I'm happy with that.
The Point still stands: with IEGlobalSettings().PNGEngine:= ieenWIC; ->IO.paramsfromfile delivers the wrong value DPIX and DPIY of 99dpi. - please fix for next version. Thanks!