In the code you posted it seems it has a method to save the Image...what about it does not work? Does it compile? Does it run? Does it throw exceptions? Does it behave?