<?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>This Life of Brian &#187; GIMP</title>
	<atom:link href="http://life-of-brian.com/tag/gimp/feed/" rel="self" type="application/rss+xml" />
	<link>http://life-of-brian.com</link>
	<description>My name is Brian.  Welcome to my life.</description>
	<lastBuildDate>Tue, 03 Jan 2012 03:09:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to Take Screenshots in Windows</title>
		<link>http://life-of-brian.com/2008/11/how-to-take-screenshots-in-windows/</link>
		<comments>http://life-of-brian.com/2008/11/how-to-take-screenshots-in-windows/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 23:46:05 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Nerds at Work]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[GIMP]]></category>

		<guid isPermaLink="false">http://life-of-brian.com/?p=508</guid>
		<description><![CDATA[A picture is worth a thousand words, no? Throughout the month, Steve at Teach42 has been writing about how to become a better blogger. The tip for day 25: Add a picture. He suggested a few types of pictures that you might include &#8211; product logos, mash-ups/charts, stock photos, and screenshots.  That&#8217;s the topic I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://life-of-brian.com/?attachment_id=509"><img class="alignright" title="Gallery Icon, Three Pictures" src="http://life-of-brian.com/wp-content/uploads/2008/11/gallery-icon-three-pictures-255x300.png" alt="Clipart of Three Photos Piled On Top of Each Other" /></a>A picture is worth a thousand words, no?</p>
<p>Throughout the month, Steve at Teach42 has been writing about how to become a better blogger.  The <a href="http://www.teach42.com/2008/11/25/day-25-add-a-quick-1000-words-to-your-posts/">tip for day 25: Add a picture</a>.</p>
<p>He suggested a few types of pictures that you might include &#8211; product logos, mash-ups/charts, stock photos, and <strong>screenshots</strong>.  That&#8217;s the topic I&#8217;m interested for the day.</p>
<p>Steve suggested that you might need some third party software to take screenshots on a Windows PC. It&#8217;s a common misconception, but entirely untrue. I commented there with some suggestions for screenshot taking, but I thought it&#8217;d be a good topic to expand on a bit.</p>
<h3>Taking a Screenshot the Easy Way</h3>
<p>First, find the screen you want to shoot. Open the website, open the application, start playing the game. Do whatever it is you want to capture.</p>
<p>Then hint the &#8220;Print Screen&#8221; button.</p>
<p>And&#8230; you&#8217;re done.</p>
<h3>Uhh&#8230;. Now What?</h3>
<p><a href="http://life-of-brian.com/?attachment_id=512"><img class="alignright" title="Screenshot of Cropping in Paint" src="http://life-of-brian.com/wp-content/uploads/2008/11/screenshot-of-cropping-in-paint-300x242.jpg" alt="Screenshot of Cropping an Image in MS Paint." /></a>Now come the options. When you press the &#8220;Print Screen&#8221; button (usually found just above the &#8220;Insert&#8221; button on US-layout keyboards), Windows captures an image of the current screen and stores it on the system&#8217;s clipboard. (Note: The mouse cursor is not displayed in this screenshot).</p>
<p>In order to make the screenshot useful you need to get it out of the Clipboard and into an image editing program.</p>
<p>The simplest thing to do would be to use Microsoft Paint, since it&#8217;s built into every Windows system. After opening paint, hit Ctrl-V to paste the image onto the canvas. (Note: You could also go to Edit -&gt; Paste, or right click on the canvas and choose Paste.)</p>
<p>The document should automatically resize to include the entire image. If you only wanted a screenshot of part of the screen, use the rectangle tool to outline the portion you want to keep, then click on Image -&gt; Crop. This will resize the canvas to include only the selected portion of the image.</p>
<p>No third party application necessary.</p>
<h3>But a Third Party App Wouldn&#8217;t Hurt&#8230;</h3>
<p>It&#8217;s certainly unnecessary to download or buy anything to take a screenshot in Windows. However, it would be helpful to have a more powerful image editing program than Paint.</p>
<p><a rel="attachment wp-att-513" href="http://life-of-brian.com/2008/11/how-to-take-screenshots-in-windows/screenshot-of-gimp-acquire-paste-as-new/"><img class="alignright" title="Screenshot of GIMP, Paste from Clipboard" src="http://life-of-brian.com/wp-content/uploads/2008/11/screenshot-of-gimp-acquire-paste-as-new-300x208.jpg" alt="Screenshot of GIMP, Pasting an Image from the Clipboard." /></a>My two favorites: <a href="http://www.gimp.org/">GIMP</a> and <a href="http://www.inkscape.org/">Inkscape</a>. Both are Open Source, therefore both are legally free. They&#8217;re also awesome.</p>
<p>GIMP is a photo/image editing program similar to Adobe Photoshop. Most of what you could do in Photoshop can also be done in GIMP. I&#8217;m pretty sure you can do just about everything, but I&#8217;m not experienced enough with either to know for sure.</p>
<p>You might, for example, shade the entire screenshot and only highlight a certain portion of it to draw the viewer&#8217;s attention to something important. </p>
<p>Although you can paste screenshots directly into GIMP, it won&#8217;t automatically resize the canvas like Paint does. In order to do that, you should use the File -&gt; Acquire -&gt; Paste as New option (Ctrl-Shift-V is the keyboard shortcut).</p>
<p>So&#8230; go take some screenshots and use them on your blog. Shoo.</p>
]]></content:encoded>
			<wfw:commentRss>http://life-of-brian.com/2008/11/how-to-take-screenshots-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create a Gradient Background Image in GIMP</title>
		<link>http://life-of-brian.com/2008/01/how-to-create-a-gradient-background-image-in-gimp/</link>
		<comments>http://life-of-brian.com/2008/01/how-to-create-a-gradient-background-image-in-gimp/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 16:12:18 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Graphics Design]]></category>
		<category><![CDATA[Nerds at Work]]></category>
		<category><![CDATA[GIMP]]></category>
		<category><![CDATA[Gradient]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://life-of-brian.com/?p=1123</guid>
		<description><![CDATA[The other day I wrote about how to add a gradient background to a css tooltip. So I thought it might be a good idea to walk through how to create the actual gradient image. Since I recently switched to Ubuntu Linux, I don&#8217;t use Photoshop anymore. GIMP all the way. So this tutorial will [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://life-of-brian.com/wp-content/uploads/2009/01/gradient.png"><img class="alignright" title="Gradient" src="http://life-of-brian.com/wp-content/uploads/2009/01/gradient.png" alt="Sample gradient image, going from dark red to light pink. Created in GIMP." /></a>The other day I wrote about how to <a title="Add a gradient background to a tooltip" href="http://www.earn-web-cash.com/2008/01/21/tooltip-gradient/">add a gradient background to a css tooltip</a>.  So I thought it might be a good idea to walk through how to create the actual gradient image.</p>
<p>Since I recently switched to Ubuntu Linux, I don&#8217;t use Photoshop anymore.  GIMP all the way.  So this tutorial will show you briefly how to create a gradient image in GIMP and then use it as the background of an html element.</p>
<p>[<strong>Editor's Note:</strong> GIMP is also available for Windows, and this method will work fine in <strong>either</strong> a Windows or Linux environment.]</p>
<p><span id="more-1123"></span></p>
<h3>Create a Blank Image (120px x 120px)</h3>
<p><a href="http://life-of-brian.com/wp-content/uploads/2009/01/blank-image.jpg"><img class="alignright" title="GIMP, Blank Image" src="http://life-of-brian.com/wp-content/uploads/2009/01/blank-image-150x150.jpg" alt="Screenshot of GIMP with a New Blank Image" /></a>First thing &#8211; fire up GIMP and create a new image.  Usually a gradient background image is 1 pixel wide.  For now we&#8217;ll create a bigger image so it&#8217;s easier to see what we&#8217;re doing &#8211; 120 pixels by 120 pixels.  You can crop the image down to a 1 pixel width later.<br />
 </p>
<h3>Set the Foreground and Background Colors</h3>
<p><a href="http://life-of-brian.com/wp-content/uploads/2008/01/color-chooser.jpg"><img class="alignright" title="GIMP, Color Chooser" src="http://life-of-brian.com/wp-content/uploads/2008/01/color-chooser-150x150.jpg" alt="Screenshot of GIMP with the color chooser window open." /></a>When you create a gradient, you need to set two colors &#8211; the beginning color (usually the foreground) and the ending color (usually the background color).  To change these colors, click on the square swatch of the foreground color in your toolbar (see the circled area in the screenshot to the right).</p>
<p>This should bring up a box titled, &#8220;Change Foreground Color.&#8221;  Pick a dark color &#8211; I used #981313.  Then, click on the Background Color Swatch (the one right behind the Foreground color).  Change the background color to a lighter version of your foreground color &#8211; I used #f17b7b.</p>
<h3>Select the Gradient Tool</h3>
<p><a href="http://life-of-brian.com/wp-content/uploads/2009/01/gradient-tool.jpg"><img class="alignright" title="GIMP, Gradient Tool" src="http://life-of-brian.com/wp-content/uploads/2009/01/gradient-tool-150x150.jpg" alt="Screenshot of GIMP with the gradient tool circled." /></a>Now that you&#8217;ve chosen the two colors, you&#8217;re ready to create the gradient.  Click on the &#8220;Gradient&#8221; tool &#8211; it&#8217;s the square that fades from black to light gray.  See the screenshot to the right.  There are a bunch of options you could customize, but for a standard gradient background image you&#8217;re better off leaving them alone.</p>
<h3>Draw the Gradient!  Then Crop Away</h3>
<p><a href="http://life-of-brian.com/wp-content/uploads/2009/01/dragging-gradient.jpg"><img class="alignright" title="GIMP, Dragging Gradient" src="http://life-of-brian.com/wp-content/uploads/2009/01/dragging-gradient-150x150.jpg" alt="Screenshot of GIMP, with the gradient tool being dragged across the canvas." /></a>Now you can actually create the gradient by clicking and dragging on your image canvas.  Position the tool at the top border of your canvas (if you look in the bottom left, it&#8217;ll tell you when you&#8217;re over pixel &#8220;0&#8243;).  Hold down the Control button to force GIMP to draw a straight line, and drag the cursor down to the bottom pixel of your canvas.</p>
<p>Let go.  Voila!  You&#8217;ve got a nice gradient image created.</p>
<p>You could use it as-is in your css stylesheet, but it&#8217;s usually a good idea to trim your picture to 1px wide.  The browser can simply repeat the image across the entire width of the element &#8211; so making it wider than 1 px is simply wasting bandwidth.  Go ahead and crop the image now, and in the future make your gradient images 1 px wide by whatever height you want.</p>
<p>Now, let&#8217;s write the css to use this as a background image for an html element.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.gradient</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#f17b7b</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/gradient.png</span><span style="color: #00AA00;">&#41;</span>
    <span style="color: #993333;">repeat-x</span> <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>There&#8217;s four pieces to this shorthand css declaration.</p>
<ul>
<li><code>#f17b7b</code> sets the background color.  This is the same as the bottom color in our gradient, so that if the container is taller than the gradient image it seems to blend smoothly.</li>
<li><code>url(images/gradient.png)</code> sets our gradient image as the background image.  Make sure you change the path to where-ever you uploaded your gradient image.</li>
<li><code>repeat-x</code> tells the browser to repeat the image left-to-right for the entire width of the container.  This is what makes our 1-pixel background image &#8220;stretch&#8221; across the entire width.</li>
<li><code>top</code> simply tells the background image to align itself to the top edge of the container.  Not always necessary, but your better safe than sorry.</li>
</ul>
<p>And that&#8217;s all there is to it.  Create an html element with class <code>gradient</code> and it should have your lovely gradient background.</p>
<p>So get to it.  Start drawing.</p>
]]></content:encoded>
			<wfw:commentRss>http://life-of-brian.com/2008/01/how-to-create-a-gradient-background-image-in-gimp/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

