Martin Franklin wrote: > "No such file or directory: ''" sounds to me like you are trying > to open a file called '' (empty string) > > try adding some debugging > > print theimage, imagepath or, better: print repr(theimage), repr(imagepath) </F>