<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

      <title>Comments on: How to Batch Rotate Multiple Images in Multiple Directories</title>
      <link>http://ask.metafilter.com/63623/How-to-Batch-Rotate-Multiple-Images-in-Multiple-Directories/</link>
      <description>Comments on Ask MetaFilter post How to Batch Rotate Multiple Images in Multiple Directories</description>
	  	  <pubDate>Tue, 29 May 2007 14:17:48 -0800</pubDate>
      <lastBuildDate>Tue, 29 May 2007 14:17:48 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: How to Batch Rotate Multiple Images in Multiple Directories</title>
  	<link>http://ask.metafilter.com/63623/How-to-Batch-Rotate-Multiple-Images-in-Multiple-Directories</link>	
  	<description>How do I rotate batches of images based on a certain criteria? &lt;br /&gt;&lt;br /&gt; OK, I&apos;m working for a legal support firm on an electronic discovery project. One part of the project is making sure all of the 10,000 have a portrait (i.e. not landscape) orientation. The files are scattered across multiple directories.&lt;br&gt;
&lt;br&gt;
Is there a program or process that would allow me to rotate images if the width of the document was greater than its length?&lt;br&gt;
&lt;br&gt;
I have heard that ImageMagick could do this but I don&apos;t know how to do this task from the command line. If someone recommends this program, could you provide me with the appropriate code to do this task?&lt;br&gt;
&lt;br&gt;
In the past, we&apos;ve hunted and rotated this images manually but I would like to avoid that!</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2008:site.63623</guid>
  	<pubDate>Tue, 29 May 2007 14:09:44 -0800</pubDate>
  	<dc:creator>jmprice</dc:creator>
	
	<category>images</category>
	
	<category>processing</category>
	
	<category>batch</category>
	
</item>
<item>
  	<title>By: kcm</title>
  	<link>http://ask.metafilter.com/63623/How-to-Batch-Rotate-Multiple-Images-in-Multiple-Directories#957402</link>	
  	<description>From the ImageMagick man page:&lt;br&gt;
&lt;br&gt;
&lt;i&gt;-rotate degrees{&lt; }{&gt;}&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
apply Paeth image rotation to the image.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Use &amp;gt; to rotate the image only if its width exceeds the height. &lt; rotates the image  if its width is less than the height. for example, if you specify -rotate -90&gt;&amp;quot; and the image size is 480x640, the image is not rotated. However, if the image is 640x480, it is rotated by -90 degrees. If you use &amp;gt; or &lt; , enclose it in quotation marks to prevent it from being misinterpreted as a file redirection./i&gt;&lt;/i&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.63623-957402</guid>
  	<pubDate>Tue, 29 May 2007 14:17:48 -0800</pubDate>
  	<dc:creator>kcm</dc:creator>
</item>

    </channel>
</rss>
