stackotter @stackotter.dev · Jan 10

Anyone run into issues with libpng on Windows before? I'm loading a simple test image, the top is the result of loading and saving the test image on macOS, the bottom is the result of doing the same on Windows. Even though the result seems corrupted on Windows, it's identical every time.

0 likes 1 replies

?

Replies

stackotter · Jan 10

I've narrowed the issue down to a decoding issue not a decoding issue (the intermediate pixel buffer matches the final saved image). I've made a few changes locally since the revision I'm about to link (such as fixing PNG encoding), but the PNG decoding is essentially the same still