> > An image in the clipboard is not encoded. It is
> just
> > a raw image.
>
> Not necessarily. What if the user clicked on a jpg
> from the file system and copied it to the clipboard?
Then they have a file not an image in the clipboard.
The fact that the file contains a JPG image is irrelevant.
> read the OP,
OK then. "image/x-java-image", not application/x-java-file-list.
> the question was "what type of image was
> copied to the clipboard". if it was pixel/raw data
> then whether or not it was jpg or png is what's
> irrelavent.
That is what I said in my first post. "image/x-java-image" is what Java return when you copy a Image (print screen, open Paint select, copy etc).
When you copy a File it returns a List of Files.
>i felt it was obvious that this was a
> file (which is still an image) and not pixel buffer
> data.
It sounds to me like the OP has copied an image from an image program (or hit print screen). At which point it is a raw pixel buffer.