I have an image in one of my project folders:
Lets say its in: ~/App_Themes/Default/images/SomeImage.png
I want to load this image into a System.Drawing.Image, how do I do that?
If I try using the FromFile method of the Image class:
Image img = Image.FromFile("~/App_Themes/Default/images/SomeImage.png", true);
I get a "FileNotFoundException".
I have read some suggesting to store the image into the Server but that's not an option. Is there any way to load this into the Image?