gingemonster / GameBoyPngConverter

A utility, written in .net core, for converting 4 color .png images to C files for use in the GameBoy Developer Kit (GBDK)
36 stars 4 forks source link

Unhandled exception. System.TypeLoadException #8

Open Flaviusns opened 1 year ago

Flaviusns commented 1 year ago

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 commented 1 year ago

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

wirehack7 commented 1 year ago

Having the same. I hope this repo is not dead

lldohmann commented 7 months ago

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