Hi,
How do I determine the identity of a window that I would like to capture an image of with the 'import -window' command?
Thanks
			
			
									
						
										
						import -window usage
Re: import -window usage
Use xwininfo to extract the window id which you can then pass to the import program.
			
			
									
						
										
						- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: import -window usage
Basically you need to use xwininfo, or some other method, to determine the X window ID.   For example,  XTerms also include a WINDOWID environment variable.
For the whole screen you can just specify 'root'.
			
			
									
						
							For the whole screen you can just specify 'root'.
Anthony Thyssen   -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
			
						https://imagemagick.org/Usage/

