<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gHacks technology news &#187; ImageMagick</title>
	<atom:link href="http://www.ghacks.net/tag/imagemagick/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 23:31:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Taking screenshots in Linux</title>
		<link>http://www.ghacks.net/2009/06/23/taking-screenshots-in-linux/</link>
		<comments>http://www.ghacks.net/2009/06/23/taking-screenshots-in-linux/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 17:44:24 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Desktop Manager]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[screenshots]]></category>
		<category><![CDATA[The GIMP]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=13810</guid>
		<description><![CDATA[So you&#8217;ve been reading about Linux on ghacks for a few months now and you&#8217;ve  noticed plenty of screenshots or images of applications in action. Now it&#8217;s time you found out just how those images are taken. No it&#8217;s not magic, but in one instance it&#8217;s ImageMagick. Actually there are a few ways to take [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve been reading about Linux on ghacks for a few months now and you&#8217;ve  noticed plenty of screenshots or images of applications in action. Now it&#8217;s time you found out just how those images are taken. No it&#8217;s not magic, but in one instance it&#8217;s ImageMagick. Actually there are a few ways to take screenshots in Linux, ranging from a simple keypress to a command line tool.</p>
<p>In this article you will learn how to take screenshots with the help of The Gimp, the GNOME menu, the Print Screen button, and ImageMagick. Each way has its advantages, so it&#8217;ll be up to you to decide which method suits you best. With that said, lets&#8217; dive in head first.</p>
<p><span id="more-13810"></span><strong>ImageMagick</strong></p>
<p>I wanted to start with this method because it can be a little flaky. The primary issue is that ImageMagick has trouble with Compiz. If you&#8217;re not running Compiz, you won&#8217;t have any issues with this method. Otherwise you&#8217;d be best served to skip down to The GIMP.</p>
<p>One of the benefits of this method is you can use it to grab screenshots automatically. You could even set up a cron job to take screen shots at specific times, or log into a machine remotely and snap a shot. I won&#8217;t get into the &#8220;why&#8221; you would want to do this &#8211; decide that yourself.</p>
<p>The basic command for taking a snapshot with ImageMagick is:</p>
<p><em>import FILENAME.png</em></p>
<p>Pretty simple. The only catch with the above command is that you will have to specify what portion of the screen to grab. When you issue that command a cross-hair will appear which you click and drag to select what portion of the screen to grab. There is an easier way. If you want to take this screenshot without interaction you issue the command:</p>
<p><em>import -window root FILENAME.png</em></p>
<p>What the above command does is take a screenshot of the root window (that&#8217;s the entire screen basically.) The screenshot will be saved (in the case of the example above) as FILENAME.png</p>
<p><strong>Print screen</strong></p>
<p>This one is simple (and not much different than using the GNOME menu)  you press the Print Screen button. When you do a window will open (see Figure 1) asking you to give the file a name, decide on a destination, and click save.  You can save the screenshot in .jpg, .png (default), .tiff, .gif, and .bmp formats. From this same window you can also copy the image to the clipboard for later use.<strong> </strong></p>
<p><strong>GNOME Menu</strong></p>
<p>If you look in the Accessories subment of the GNOME Applications menu you will see the entry &#8220;Take Screenshot&#8221;. If you click on this the same window will open that opened when you hit the Print Screen key. This works in the exact same way. If, for some reason, you have a different keyboard mapping or a Print Screen key that does not work, this menu entry is sure to work.</p>
<p><strong>The GIMP</strong></p>
<div id="attachment_13816" class="wp-caption alignleft" style="width: 242px"><a href="http://www.ghacks.net/wp-content/uploads/2009/06/Screenshot.png"><img class="size-full wp-image-13816" src="http://www.ghacks.net/wp-content/uploads/2009/06/Screenshot.png" alt="Figure 1" width="232" height="226" /></a><p class="wp-caption-text">Figure 1</p></div>
<p>The GIMP is my standard means for snapping screenshots.  Within The GIMP click on the File menu and then click on the Create submenu. From within the Create menu click the Screenshot entry which will open up the screenshot dialog (see Figure 1).</p>
<p>There are three types of screenshots you can take:</p>
<p>Single Window: This will grab only the window you click on after you click the Snap button.</p>
<p>Entire Screen: This will grab the entire screen after you click the Snap button.</p>
<p>Select a Region: This allows you to select the portion of the screen you want to grab after you click snap.</p>
<p>You can also configure a delay (in seconds) which will allow you to open up menus or take an action to grab.</p>
<p>When using The GIMP for screenshots you will have to save the image manually. But you can also edit the image before you save it.</p>
<p><strong>Final thoughts</strong></p>
<p>As you can see there are a number of ways to grab a screenshot in the Linux desktop. Each method is simple and should have you snagging screenshots all day long.</p>

	Tags: <a href="http://www.ghacks.net/tag/imagemagick/" title="ImageMagick" rel="tag">ImageMagick</a>, <a href="http://www.ghacks.net/tag/images/" title="images" rel="tag">images</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/screenshots/" title="screenshots" rel="tag">screenshots</a>, <a href="http://www.ghacks.net/tag/the-gimp/" title="The GIMP" rel="tag">The GIMP</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/01/08/using-the-gimp-with-fewer-windows/" title="Using The GIMP With Fewer Windows (January 8, 2009)">Using The GIMP With Fewer Windows</a> (9)</li>
	<li><a href="http://www.ghacks.net/2009/05/24/using-layers-in-the-gimp/" title="Using Layers in The GIMP (May 24, 2009)">Using Layers in The GIMP</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/08/21/take-screenshots-with-shutter/" title="Take screenshots with Shutter (August 21, 2009)">Take screenshots with Shutter</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/07/08/keep-your-screenshots-organized-and-ready-for-online-use/" title="Keep your screenshots organized and ready for online use (July 8, 2008)">Keep your screenshots organized and ready for online use</a> (5)</li>
	<li><a href="http://www.ghacks.net/2009/01/07/getting-to-know-the-gimp-interface/" title="Getting to Know The GIMP Interface (January 7, 2009)">Getting to Know The GIMP Interface</a> (19)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/06/23/taking-screenshots-in-linux/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
