🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9162

Re: Getting an image representation of a component

#9162
From: Joi Ellis
Date: Fri, 19 May 2000 00:00
31 lines
1734 bytes
"David R. Robison" wrote:
> 
> What I would like to do is capture the present graphical representation
> of a component into an Image that I could then save (in some format e.g.
> BMP) to a file. Does anyone know how to do this?
> 
> David Robison


Sure, I do this all time time.  Linux has a command called 'import' 
which will capture the contents of any on-screen windows as a gif, jpeg,
or whatever format you want if it has access to the supporting libraries.


On windows you can do this with paint and the clipbook.

Select the window you want to copy, then press ALT-PRINT.  That sucks 
graphic of the whole window into clipbook.  Then you can paste that
into paint, crop it as needed, and save to a bmp.  (I just did this with
IE, the clipbook, and paint on NT4.)



-- 
Joi Ellis                    Software Engineer
Aravox Technologies          joi@aravox.com, gyles19@visi.com

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson
Technical Details
Message-ID: <392564BD.3C6F5205@aravox.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39254CFB.8232A3EA@earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,51d4d0b2b4f6c621
X-Google-Attributes: gid111d45,public
From: Joi Ellis <joi@aravox.com>
Subject: Re: Getting an image representation of a component
Date: 2000/05/19
Message-ID: <392564BD.3C6F5205@aravox.com>
X-Deja-AN: 625456705
Content-Transfer-Encoding: 7bit
References: <39254CFB.8232A3EA@earthlink.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Aravox Technologies
Mime-Version: 1.0
Reply-To: joi@aravox.com
Newsgroups: borland.public.jbuilder.java.swing