image1.File = "D:\\DeleteIt.JPG";
Is incorrect. the File system is different. Linux is a directory based file system whereas Microsoft OSes use a Drive:Directory based filesystem.
This means that you would load the file like this:
image1.File = "/home/user/filename.jpg";