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

System Exception if there is whitespace in the export path. #30

Open
BuddhaRandom opened this issue Feb 16, 2020 · 0 comments
Open

System Exception if there is whitespace in the export path. #30

BuddhaRandom opened this issue Feb 16, 2020 · 0 comments

Comments

@BuddhaRandom
Copy link

BuddhaRandom commented Feb 16, 2020

After copying and pasting path, i.e. C:\Project\etc\ there was a System Exception. Removing the trailing whitespace fixes the issue.

`System.Exception: An error occured whilst exporting frames.
---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

 at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)   
 at ASU.UI.MainForm.ExportUnpackers(List`1 unpackers) in C:\Users\MCooper\Documents\GitHub\Alferd-Spritesheet-Unpacker\ASU\UI\MainForm.cs:line 1136   
 --- End of inner exception stack trace ---   

 at ASU.UI.MainForm.ExportUnpackers(List`1 unpackers) in C:\Users\MCooper\Documents\GitHub\Alferd-Spritesheet-Unpacker\ASU\UI\MainForm.cs:line 1222   
 at ASU.UI.MainForm.ExportButton_Click(Object sender, EventArgs e) in C:\Users\MCooper\Documents\GitHub\Alferd-Spritesheet-Unpacker\ASU\UI\MainForm.cs:line 1228`
@BuddhaRandom BuddhaRandom changed the title Crashes if there is whitespace in the export path. System Exception if there is whitespace in the export path. Feb 16, 2020
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

No branches or pull requests

1 participant