Re: How to convert GUI component's graphics to int[]or byte[]?
- From: Aki Laukkanen <aki.laukkanen@xxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 17:08:10 +0300
Andrew Thompson wrote:
I've tried doing this by having the component paint() its graphics on a java.awt.image.BufferedImage and then using a java.awt.image.PixelGrabber' s getPixels() to extract the array.
I was first thinking along those lines, but I Googled the group and noticed the answers for getting an image of a Java (or any) component, kept being 'Robot.createScreenCapture()'.
Hmm. Guess I should be taking a closer look at that, then. Thanks for the pointer. :)
-- -Aki "Sus" Laukkanen .
- References:
- How to convert GUI component's graphics to int[]or byte[]?
- From: Aki Laukkanen
- Re: How to convert GUI component's graphics to int[]or byte[]?
- From: Andrew Thompson
- How to convert GUI component's graphics to int[]or byte[]?
- Prev by Date: Re: Mouse Cursor with hourglass and pointer
- Next by Date: editor how to
- Previous by thread: Re: How to convert GUI component's graphics to int[]or byte[]?
- Next by thread: editor how to
- Index(es):
Relevant Pages
|
|