Closed pansk closed 7 years ago
It's funny because the Microsoft documentation itself is a bit confused on the subject, and in their code example they use .bmp as extension. https://msdn.microsoft.com/en-us/library/ktx83wah(v=vs.110).aspx
had to make the same change .bmp --> .png
edit: works fine on windows, i only need to change the extension on ubuntu
I had the problem on Windows 10 and vs2015. Preview didn't complain, but another viewer did.
@pansk @mef51 Thanks. I moved everything to png. Didn't know that standard library works with pngs.
In this PR I changed the extension. Another fix could be adding a second parameter with System.Drawing.Imaging.ImageFormat.Bmp