Collin Jasnoch wrote:Bitmap bmp = new Bitmap(img); will not work if img is an absolute path.
Then something is wrong with your path. Did you confuse forward and backward slashes? are you referring to a case-sensitive file system (as in UNIX/Linux)? Did you forget a slash between path and name? Did you make a mistake in escaping a backslash?
Don't go the CD way if you don't have to, fix the real problem instead.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.