<?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>NostraDistro &#187; resize</title>
	<atom:link href="http://nostradistro.com/tag/resize/feed/" rel="self" type="application/rss+xml" />
	<link>http://nostradistro.com</link>
	<description>Foreseeing Your Linux Needs...</description>
	<lastBuildDate>Sun, 03 Apr 2011 03:10:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Batch Resize of Multiple Photos</title>
		<link>http://nostradistro.com/2008/05/05/batch-resize-of-multiple-photos/</link>
		<comments>http://nostradistro.com/2008/05/05/batch-resize-of-multiple-photos/#comments</comments>
		<pubDate>Tue, 06 May 2008 02:38:23 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[resize]]></category>

		<guid isPermaLink="false">http://nostradistro.com/?p=4</guid>
		<description><![CDATA[After searching Synaptic Package Manager for a batch photo resizing program, I came across a nifty program called ImageMagick.Â  An excerpt from its description reads: ImageMagick is a set of programs to manipulate various image formats (JPEG, TIFF, PhotoCD, PBM, XPM, etc&#8230;). All manipulations can be achieved through shell commands as well as through an [...]]]></description>
			<content:encoded><![CDATA[<p>After searching Synaptic Package Manager for a batch photo resizing program, I came across a nifty program called ImageMagick.Â  An excerpt from its description reads:</p>
<blockquote><p>ImageMagick is a set of programs to manipulate various image formats (JPEG, TIFF, PhotoCD, PBM, XPM, etc&#8230;). All manipulations can be achieved through shell commands as well as through an X11 graphical interface (display).</p>
<p>Possible effects: colormap manipulation, channel operations, thumbnail creation, image annotation, limited drawing, image distortion, etc.</p></blockquote>
<p>The only effect I needed for, however was image re-sizing.Â  Here&#8217;s what I did under Hardy:</p>
<p>First, you need to install ImageMagick:</p>
<blockquote><p>jason@ubuntu:~$ sudo apt-get install imagemagick</p></blockquote>
<p>Create a folder to put all the images you want to resize in.Â  For my images, I just created a folder named &#8220;Batch&#8221; on my desktop.</p>
<blockquote><p>jason@ubuntu:~$ cd /home/jason/Desktop/<br />
jason@ubuntu:~/Desktop$ mkdir batch<br />
jason@ubuntu:~/Desktop$ cd /home/jason/Desktop/batch<br />
jason@ubuntu:~/Desktop/batch$</p></blockquote>
<p>Now comes the time to do the actual resizing.Â  I resized mine to a width of 640.Â  The aspect ratio will stay the same if resizing just the width.</p>
<blockquote><p>jason@ubuntu:~/Desktop/batch$ mogrify -resize 640 *.JPG</p></blockquote>
<p>Note that the file extension is case sensitive and will give you an error message otherwise.Â  If you want to force a particular aspect ratio (such as 640 x 480) then try this:</p>
<blockquote><p>jason@ubuntu:~/Desktop/batch$ mogrify -resize 640&#215;480! *.JPG</p></blockquote>
<p>And there you have it!Â  There are alot of other effects that you can try with this program.Â  For more effects to use at the command line, see the <a title="ImageMagick Command Line Tools" href="http://www.imagemagick.org/script/command-line-tools.php" target="_blank">ImageMagick website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nostradistro.com/2008/05/05/batch-resize-of-multiple-photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

