When you drop an image from Explorer to Skype, the file is being sent. As far as I understood your code, you're dragging an image object, not a file.
If you would like to send a file from your file system, use this method.
If however you'd like to create the file in runtime without saving it to the file system, you could implement a virtual file, as described in the "Virtual file" section of this guide.