<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: imagemagick: command line photoshop, only so much better</title>
	<atom:link href="http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html/feed" rel="self" type="application/rss+xml" />
	<link>http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html</link>
	<description>Learn the UNIX/Linux command line</description>
	<lastBuildDate>Mon, 06 Jun 2011 01:35:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Tmbigrigg</title>
		<link>http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html/comment-page-1#comment-9848</link>
		<dc:creator>Tmbigrigg</dc:creator>
		<pubDate>Tue, 03 Jun 2008 20:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html#comment-9848</guid>
		<description>I want to use ImageMagick to convert a series of photos to Sepia and black and white.
OK so I can use dcraw to convert the NEF (RAW) files to .JPG. and I can use the following command to 

convert to Sepia-Tone and black and white:
[I]convert filename.JPG   -sepia-tone 75%     filename.sepia-tone.JPG[/I]
[I]convert  filename.JPG  -colorspace Gray   filename.bw.JPG[/I]

How can I use these commands in a script that will act on multiple filenames within a directory and/or 

directory tree. The following is an example of the directory structure that I want to work with. I would 

also ideally like to save the Sepia and Black and White JPGs in their own folders within the parent 

directory. The final result would be something where 2008-05-07, 2008-05-09 and 2008-05-15 would end up 

with additional directories for Sepia and BW created and the sepia and BW files moved into those directories.


[B]2008-05-07[/B]
	DSC_1000.JPG
	DSC_1001.JPG
	DSC_1002.JPG
	DSC_1003.JPG
[B]2008-05-09[/B]
	DSC_1004.JPG
	DSC_1005.JPG	
	DSC_1006.JPG
[B]2008-05-15[/B]
	DSC_1007.JPG
	DSC_1009.JPG
	DSC_1025.JPG</description>
		<content:encoded><![CDATA[<p>I want to use ImageMagick to convert a series of photos to Sepia and black and white.<br />
OK so I can use dcraw to convert the NEF (RAW) files to .JPG. and I can use the following command to </p>
<p>convert to Sepia-Tone and black and white:<br />
[I]convert filename.JPG   -sepia-tone 75%     filename.sepia-tone.JPG[/I]<br />
[I]convert  filename.JPG  -colorspace Gray   filename.bw.JPG[/I]</p>
<p>How can I use these commands in a script that will act on multiple filenames within a directory and/or </p>
<p>directory tree. The following is an example of the directory structure that I want to work with. I would </p>
<p>also ideally like to save the Sepia and Black and White JPGs in their own folders within the parent </p>
<p>directory. The final result would be something where 2008-05-07, 2008-05-09 and 2008-05-15 would end up </p>
<p>with additional directories for Sepia and BW created and the sepia and BW files moved into those directories.</p>
<p>[B]2008-05-07[/B]<br />
	DSC_1000.JPG<br />
	DSC_1001.JPG<br />
	DSC_1002.JPG<br />
	DSC_1003.JPG<br />
[B]2008-05-09[/B]<br />
	DSC_1004.JPG<br />
	DSC_1005.JPG<br />
	DSC_1006.JPG<br />
[B]2008-05-15[/B]<br />
	DSC_1007.JPG<br />
	DSC_1009.JPG<br />
	DSC_1025.JPG</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ahmadinejad</title>
		<link>http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html/comment-page-1#comment-543</link>
		<dc:creator>ahmadinejad</dc:creator>
		<pubDate>Sun, 02 Dec 2007 07:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html#comment-543</guid>
		<description>Bash rules.... Command Line interface is greattt.. Many things could have done in seconds. Nice tips..</description>
		<content:encoded><![CDATA[<p>Bash rules&#8230;. Command Line interface is greattt.. Many things could have done in seconds. Nice tips..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: love &#187; imagemagick: command line photoshop only so much better</title>
		<link>http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html/comment-page-1#comment-226</link>
		<dc:creator>love &#187; imagemagick: command line photoshop only so much better</dc:creator>
		<pubDate>Thu, 01 Nov 2007 02:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html#comment-226</guid>
		<description>[...] Read the rest of this great post here [...]</description>
		<content:encoded><![CDATA[<p>[...] Read the rest of this great post here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Geeky Blog Updates &#187; Blog Archive &#187; imagemagick: command line photoshop only so much better</title>
		<link>http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html/comment-page-1#comment-221</link>
		<dc:creator>The Geeky Blog Updates &#187; Blog Archive &#187; imagemagick: command line photoshop only so much better</dc:creator>
		<pubDate>Wed, 31 Oct 2007 18:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html#comment-221</guid>
		<description>[...] Read the rest of this great post here [...]</description>
		<content:encoded><![CDATA[<p>[...] Read the rest of this great post here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html/comment-page-1#comment-218</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 31 Oct 2007 17:11:46 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html#comment-218</guid>
		<description>I also love imagemagick.  Some things I&#039;ve found useful:

convert  -geometry 640x640! 

The &#039;!&#039; will force the exact resolution.  Convert will try and keep your aspect ratio intact if you simply supplied 640x480.

mogrify will change the image in-place.

mogrify -resize 640x 

identify will give you useful information about the image (such as its type and resolution) right on the command line:

$ identify t2.png
t2.png PNG 128x128 128x128+0+0 DirectClass 16-bit 7.83984kb</description>
		<content:encoded><![CDATA[<p>I also love imagemagick.  Some things I&#8217;ve found useful:</p>
<p>convert  -geometry 640&#215;640! </p>
<p>The &#8216;!&#8217; will force the exact resolution.  Convert will try and keep your aspect ratio intact if you simply supplied 640&#215;480.</p>
<p>mogrify will change the image in-place.</p>
<p>mogrify -resize 640x </p>
<p>identify will give you useful information about the image (such as its type and resolution) right on the command line:</p>
<p>$ identify t2.png<br />
t2.png PNG 128&#215;128 128&#215;128+0+0 DirectClass 16-bit 7.83984kb</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fintan</title>
		<link>http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html/comment-page-1#comment-214</link>
		<dc:creator>Fintan</dc:creator>
		<pubDate>Wed, 31 Oct 2007 10:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html#comment-214</guid>
		<description>Brilliant tutorial, I had wondered how people take screen shots of linux installations and it turned out use VMware.. Why didn&#039;t think of this :-( .

Thanks for sharing command line tip of resizing pictures.</description>
		<content:encoded><![CDATA[<p>Brilliant tutorial, I had wondered how people take screen shots of linux installations and it turned out use VMware.. Why didn&#8217;t think of this <img src='http://bashcurescancer.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  .</p>
<p>Thanks for sharing command line tip of resizing pictures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Horsefug.Com &#187; imagemagick: command line photoshop only so much better</title>
		<link>http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html/comment-page-1#comment-211</link>
		<dc:creator>Horsefug.Com &#187; imagemagick: command line photoshop only so much better</dc:creator>
		<pubDate>Wed, 31 Oct 2007 08:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html#comment-211</guid>
		<description>[...] wrote an interesting post today on imagemagick: command line photoshop only so much betterHere&#8217;s a quick [...]</description>
		<content:encoded><![CDATA[<p>[...] wrote an interesting post today on imagemagick: command line photoshop only so much betterHere&#8217;s a quick [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nippyda Blog Archive &#187; imagemagick: command line photoshop only so much better</title>
		<link>http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html/comment-page-1#comment-209</link>
		<dc:creator>nippyda Blog Archive &#187; imagemagick: command line photoshop only so much better</dc:creator>
		<pubDate>Wed, 31 Oct 2007 05:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/imagemagick-command-line-photoshop-only-so-much-better.html#comment-209</guid>
		<description>[...] full story here [...]</description>
		<content:encoded><![CDATA[<p>[...] full story here [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.209 seconds -->

