Hi I’m new to the Gadgeteer Platform and I’ve been facing a strange problem lately.
When I try to take a Picture via camera.TakePicture(); I’m getting following error:
#### Exception System.ArgumentException - 0xfd000000 (5) ####
#### Message:
#### GHI.Utilities.Bitmaps::NativeConvertToFile [IP: 0000] ####
#### GHI.Utilities.Bitmaps::ConvertToFile [IP: 003e] ####
#### GHI.Utilities.Bitmaps::ConvertToFile [IP: 0021] ####
#### Gadgeteer.Modules.GHIElectronics.Camera::DoWork [IP: 007e] ####
Eine Ausnahme (erste Chance) des Typs “System.ArgumentException” ist in GHI.Hardware.dll aufgetreten.
Ein Ausnahmefehler des Typs “System.ArgumentException” ist in GHI.Hardware.dll aufgetreten.
Here’s my Code:
void ProgramStarted()
{
Debug.Print("Program Started");
button.ButtonReleased += button_ButtonReleased;
camera.PictureCaptured += camera_PictureCaptured;
}
void camera_PictureCaptured(Camera sender, GT.Picture e)
{
displayTE35.SimpleGraphics.DisplayImage(e, 5,5);
}
void button_ButtonReleased(Button sender, Button.ButtonState state)
{
camera.TakePicture();
}
I saw a post in the forum (https://www.ghielectronics.com/community/forum/topic?id=17180&page=1) about someone having the exact same problem.
When will there be an update to this problem, I do not intend to apply any kind of strange fix for this.
Thanks in advance for your reply
Greetings Oliver