<?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>asciipr0n &#187; Command-line</title>
	<atom:link href="http://asciipr0n.net/category/computing/linux/command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://asciipr0n.net</link>
	<description>Words are sexy.</description>
	<lastBuildDate>Tue, 01 Jun 2010 18:44:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stitching Mandolux Wallpapers</title>
		<link>http://asciipr0n.net/2009/11/stitching-mandolux-wallpapers/</link>
		<comments>http://asciipr0n.net/2009/11/stitching-mandolux-wallpapers/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 07:15:33 +0000</pubDate>
		<dc:creator>Ivan</dc:creator>
				<category><![CDATA[Command-line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://asciipr0n.net/?p=208</guid>
		<description><![CDATA[I&#8217;ve got two 24&#8243; monitors that I use side-by-side in TwinView mode in my home office, so when I look for desktop background images I hit up Mandolux. Mandolux offers free and original wallpaper in a variety of sizes for even the largest displays.
The only wrinkle in all of this is that Mandolux splits the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got two 24&#8243; monitors that I use side-by-side in <a href="http://www.nvidia.com/object/feature_twinview.html">TwinView</a> mode in my home office, so when I look for desktop background images I hit up <a href="http://mandolux.com/">Mandolux</a>. Mandolux offers free and original wallpaper in a variety of sizes for even the largest displays.</p>
<p>The only wrinkle in all of this is that Mandolux splits the larger widescreen backgrounds into separate left- and right-hand images. However, since I run my display in TwinView mode, my desktop is essentially a single 3840 x 1200 display ( two 1920&#8217;s side by side). For the Mandolux wallpapers to display correctly on my background I need to merge the two images into one. I could manually stitch the two images together with an image editing program like <a href="http://www.gimp.org/">GIMP</a>, but since I downloaded a dozen of the background images to try out, doing it manually sounded dauntingly tedious.</p>
<p>That&#8217;s when I remembered that the <a href="http://www.imagemagick.org">ImageMagick</a> suite of tools includes the &#8216;montage&#8217; tool. The ImageMagick tools can be installed with the following command under Ubuntu:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> imagemagick</pre></div></div>

<p>Then, to stitch the images together I ran the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">montage mandolux-ga2k6-<span style="color: #000000; font-weight: bold;">*</span>-1920.jpg <span style="color: #660033;">-tile</span> x1 <span style="color: #660033;">-geometry</span> +<span style="color: #000000;">0</span>+<span style="color: #000000;">0</span> mandolux-ga2k6-3840.jpg</pre></div></div>

<p>in a directory containing mandolux-ga2k6-l-1920.jpg and mandolux-ga2k6-r-1920.jpg (left and right side images, respectively). It is also worth noting here that the first filename precedes the second filename alphabetically, so the files are laid out from left to right in that order.</p>
<p>The result is mandolux-ga2k6-3840.jpg, which is a file with both images merged into into one 3840 x 1200 image.</p>
]]></content:encoded>
			<wfw:commentRss>http://asciipr0n.net/2009/11/stitching-mandolux-wallpapers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
