I want to load an int image into a raster object from asp.net, the image is in
/uploadedimages/sampleimage.jpg
whenever I use the code below to load an image into a bitmap, I get an "Parameter is invalid" error message.
Bitmap b = new Bitmap("/uploadedimages/sampleimage.jpg") // this path is coming from database holded in variable
I tried replacing the slashes in the path with "\", but this does not work.
can someone tell me what could be causing the error and possible resolution.
Abbas source share