Hello all!
I'll be short with my question.
I have an absolute path to a .png image.
I want to pre-load it as a Bitmap object.
This gives an error:
Saying that the parameter is not valid (no other details have been given)Code:Bitmap loaded = new Bitmap(@absolute_path_string);
Now I read something from the .NET resource about PngBitmapDecoder
but I cannot find the System.Windows.Media.Imaging reference & namespace.
So I'm wondering, what would be the correct way of doing this?