https://bugs.winehq.org/show_bug.cgi?id=42396
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Dmitry Timoshkov from comment #1)
Attached PNG image gets loaded and converted to another WIC format just fine using wine-staging 2.1 (Unreleased), can't test with winehq since the test application I'm using fails earlier due to unimplemented WIC features it needs.
It's possible it's specific to the library configuration on my machine, Googling around for the mentioned zlib errors often results in discussions of build configuration changes.