Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong extension or Image Format for output files #1

Closed
wants to merge 1 commit into from

Conversation

pansk
Copy link

@pansk pansk commented Sep 30, 2016

In this PR I changed the extension. Another fix could be adding a second parameter with System.Drawing.Imaging.ImageFormat.Bmp

@pansk
Copy link
Author

pansk commented Sep 30, 2016

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

@mef51
Copy link

mef51 commented Sep 30, 2016

had to make the same change .bmp --> .png

edit: works fine on windows, i only need to change the extension on ubuntu

@cmcfarla cmcfarla mentioned this pull request Oct 1, 2016
@pansk
Copy link
Author

pansk commented Oct 1, 2016

I had the problem on Windows 10 and vs2015. Preview didn't complain, but another viewer did.

@mxgmn
Copy link
Owner

mxgmn commented Oct 5, 2016

@pansk @mef51 Thanks. I moved everything to png. Didn't know that standard library works with pngs.

@mxgmn mxgmn closed this Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants