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

Unhandled exception. System.TypeLoadException #8

Open
Flaviusns opened this issue Apr 2, 2023 · 5 comments
Open

Unhandled exception. System.TypeLoadException #8

Flaviusns opened this issue Apr 2, 2023 · 5 comments

Comments

@Flaviusns
Copy link

Hello, I'm trying to use the tool but it don't work. The following error prompts:

Unhandled exception. System.TypeLoadException at System.Drawing.SafeNativeMethods.Gdip.GdipCreateBitmapFromStream(IStream stream, IntPtr& bitmap) at System.Drawing.Bitmap..ctor(Stream stream, Boolean useIcm) at System.Drawing.Bitmap..ctor(Stream stream) at GameBoyPngConverter.Program.Main(String[] args) at GameBoyPngConverter.Program.<Main>(String[] args)

Find attached the image I tested.

Important Info

OS: Windows 11 22H2
Using Release V1 works perfectly, only happens with V2 release.

Thank you very much for the tool

PruebaMario

@KIttenPixel
Copy link

I have the same issue I am trying to use this image btw
Untitled-2

@wirehack7
Copy link

Having the same.
I hope this repo is not dead

@lldohmann
Copy link

I'm having the same issue here too with this image.
Background
Same console output and all. At first I thought the image was too complicated but the other posts here show the same issue with less complicated images.
image

@leonelsanchesdasilva
Copy link

cc @ItsMeSousuke @gingemonster

I got to use version 1.0, having this error on version 2.0.

@ItsMeSousuke
Copy link
Contributor

ItsMeSousuke commented Dec 6, 2024

Thank you for the report.
I cannot reproduce this bug on my machine but I've created PR where I've removed dependency to System.Drawing which I hope helps you.

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

6 participants