[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen capture to an image file - GIF, JPEG, whatever



Chris,

I assume that you can do what you want by using the Java Advanced Imaging
optional package:

   http://www.java.sun.com/products/java-media/jai/index.html


I have not actually used this package myself.

Cindy


Chris Abney wrote:

> Hi all,
>
> I have been wrestling with this task and I hope I haven't overlooked
> something easy.
> If I have, will someone please disappoint me?
>
> I know I can use java.awt.Robot to capture the screen to an Image
> (BufferedImage).
> But I don't know how to convert the raw image data to a standard format.
>
> I can't use a third party component that involves licensing or anything like
> that.
>
> Is there a reasonable way to do this?
>
> Thanks
> Chris
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com