JavaPaste - paste files or images from clipboard (I have som
mrjcleaver
Joined: 2002-09-01
Posts: 18 |
Posted: Sun, 2002-09-01 17:21 |
Hi all, A little while ago my ex-firm commissioned one of my developers to write some code. They released it open source. Its a singed applet meant to be embedded into a web page. The bit I think you will be interested in is its functionality to monitor the clipboard for images or file references, in the case of images convert a bitmap into a jpeg and then do a HTTP Post of the JPEG contents and in the case of file references send the file contents. With a bit more work I think it could even be made to allow drag and drop, so you could drag an image off a web page onto the upload pane. While it's not totally finished, it is demonstratably useful. The code is available at http://twiki.org/cgi-bin/view/Plugins/JavaPasteAddOn I am hoping that you find the code useful enough to incorporate it into Gallery Remote. I also have a side-motive that I am hoping to take back any modifications for TWiki. (And whoever said honesty was dead?) Even if you don't use this code, thanks for Gallery Remote! Best regards, |
|