<?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"
	>

<channel>
	<title>Colin Charles Agenda &#187; Photography</title>
	<atom:link href="http://www.bytebot.net/blog/archives/category/photography/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bytebot.net/blog</link>
	<description>A permanent record for what's interesting today - this is my live journal</description>
	<pubDate>Tue, 07 Oct 2008 10:20:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>how much for georgia?</title>
		<link>http://www.bytebot.net/blog/archives/2008/10/04/how-much-for-georgia</link>
		<comments>http://www.bytebot.net/blog/archives/2008/10/04/how-much-for-georgia#comments</comments>
		<pubDate>Sat, 04 Oct 2008 19:10:12 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[Current Issues]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[bush]]></category>

		<category><![CDATA[latvia]]></category>

		<category><![CDATA[photo]]></category>

		<category><![CDATA[politics]]></category>

		<category><![CDATA[putin]]></category>

		<category><![CDATA[riga]]></category>

		<category><![CDATA[sfd08]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=1080</guid>
		<description><![CDATA[
spotted in riga, latvia, at the university, during software freedom day 2008.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/byte/2888091036/" title="Riga, Latvia by byte, on Flickr"><img src="http://farm4.static.flickr.com/3270/2888091036_4061483da2.jpg" width="500" height="375" alt="Riga, Latvia" /></a></p>
<p>spotted in riga, latvia, at the university, during software freedom day 2008.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2008/10/04/how-much-for-georgia/feed</wfw:commentRss>
		</item>
		<item>
		<title>Eradicate the ISA?</title>
		<link>http://www.bytebot.net/blog/archives/2008/09/15/eradicate-the-isa</link>
		<comments>http://www.bytebot.net/blog/archives/2008/09/15/eradicate-the-isa#comments</comments>
		<pubDate>Mon, 15 Sep 2008 07:21:12 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[Current Issues]]></category>

		<category><![CDATA[Only in Malaysia]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[ISA]]></category>

		<category><![CDATA[kamunting]]></category>

		<category><![CDATA[malaysia]]></category>

		<category><![CDATA[photo]]></category>

		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=1024</guid>
		<description><![CDATA[


Truly fitting image about the ISA, in the wake of recent happenings. Feel free to use the image, its CC-BY-NC-SA.
(for those international readers, Kamunting is where the ISA detainees are held [sat view]. This photo however, was taken in the middle of Kuala Lumpur)
]]></description>
			<content:encoded><![CDATA[<p><center><br />
<a href="http://www.flickr.com/photos/byte/2058132365/" title="Hapuskan ISA on Jalan Kamunting by byte, on Flickr"><img src="http://farm3.static.flickr.com/2153/2058132365_03d339e49c.jpg" width="333" height="500" alt="Hapuskan ISA on Jalan Kamunting" /></a><br />
</center></p>
<p>Truly fitting image about the <a href="http://en.wikipedia.org/wiki/Internal_Security_Act_(Malaysia)">ISA</a>, in the wake of recent happenings. Feel free to use the image, its <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en">CC-BY-NC-SA</a>.</p>
<p>(for those international readers, Kamunting is where the ISA detainees are held [<a href="http://maps.google.com/?ie=UTF8&#038;ll=4.909473,100.737194&#038;spn=0.006211,0.009656&#038;t=h&#038;z=17">sat view</a>]. This photo however, was taken in the middle of Kuala Lumpur)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2008/09/15/eradicate-the-isa/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sloggi: Art for Humanity</title>
		<link>http://www.bytebot.net/blog/archives/2008/09/09/sloggi-art-for-humanity</link>
		<comments>http://www.bytebot.net/blog/archives/2008/09/09/sloggi-art-for-humanity#comments</comments>
		<pubDate>Tue, 09 Sep 2008 11:08:48 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[Photography]]></category>

		<category><![CDATA[art for humanity]]></category>

		<category><![CDATA[body art]]></category>

		<category><![CDATA[bra]]></category>

		<category><![CDATA[models]]></category>

		<category><![CDATA[sloggi]]></category>

		<category><![CDATA[sunway lagoon]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=1014</guid>
		<description><![CDATA[Something about bloggers supposedly writing things as they happen right? No wait, those are blogger-wannabe-journalists *grin*. Anyway, if you&#8217;re up for a write-up, read Aaron Chew&#8217;s entry about the Sloggi, Art for Humanity day at Sunway Lagoon Resort. The only way I aim to please, is via photos - Sloggi: Art for Humanity - a [...]]]></description>
			<content:encoded><![CDATA[<p>Something about bloggers supposedly writing things as they happen right? No wait, those are blogger-wannabe-journalists <b>*grin*</b>. Anyway, if you&#8217;re up for a write-up, read <a href="http://aaroncwl.blogspot.com/2008/08/sloggi-art-of-humanity-at-sunway-lagoon.html">Aaron Chew&#8217;s</a> entry about the Sloggi, Art for Humanity day at Sunway Lagoon Resort. The only way I aim to please, is via photos - <a href="http://www.flickr.com/photos/byte/sets/72157606989045505/">Sloggi: Art for Humanity</a> - a set of nearly a thousand photos.</p>
<p>I had a media pass - all thanks to Talents Magazine - not that it really mattered, as there were lots of amateur photographers there, crowding the area, looking to capture the moment. Want to know what successfully separated the wheat from the chaff?</p>
<p>The rain. It came, and it poured. Some scurried under tents (and tried to get people to move out of the way). Some managed to scurry under an umbrella. Most ran away, to protect their precious gear. I, I stayed. And shot through the rain. Much to everyone&#8217;s surprise.</p>
<p>The highlights, from me?</p>
<p><a href="http://www.flickr.com/photos/byte/2798341579/" title="Suki by byte, on Flickr"><img src="http://farm4.static.flickr.com/3196/2798341579_f566c3fe0d_m.jpg" width="240" height="160" alt="Suki" /></a><br />
<a href="http://en.wikipedia.org/wiki/Suki_(Low_Sook_Yee)">Suki</a>, a singer, who ate at Mr. Teppanyaki before performing, because I ate there too</p>
<p><a href="http://www.flickr.com/photos/byte/2798752723/" title="The Balloon Competition by byte, on Flickr"><img src="http://farm4.static.flickr.com/3153/2798752723_5fd3fa9425_m.jpg" width="160" height="240" alt="The Balloon Competition" /></a><br />
The Balloon Competition Winners</p>
<p><a href="http://www.flickr.com/photos/byte/2798815477/" title="The Balloon Competition by byte, on Flickr"><img src="http://farm4.static.flickr.com/3084/2798815477_0df41d4074.jpg" width="333" height="500" alt="The Balloon Competition" /></a><br />
The Balloon Competition Winners pt. II</p>
<p><a href="http://www.flickr.com/photos/byte/2799692632/" title="How quickly can you take off the bra? by byte, on Flickr"><img src="http://farm4.static.flickr.com/3165/2799692632_78d092286a_m.jpg" width="240" height="160" alt="How quickly can you take off the bra?" /></a><br />
How quickly can you take off a bra?</p>
<p><a href="http://www.flickr.com/photos/byte/2800111350/" title="Sloggi Models by byte, on Flickr"><img src="http://farm4.static.flickr.com/3098/2800111350_eea97b1ec1.jpg" width="333" height="500" alt="Sloggi Models" /></a><br />
The models, with body paint</p>
<p><a href="http://www.flickr.com/photos/byte/2800021850/" title="Sloggi Models by byte, on Flickr"><img src="http://farm4.static.flickr.com/3095/2800021850_f671ec373d.jpg" width="333" height="500" alt="Sloggi Models" /></a><br />
The models, with body paint</p>
<p>I&#8217;m too lazy to wade through the entire set of photos again&#8230; You go ahead and enjoy the set. <a href="http://www.flickr.com/photos/byte/sets/72157606989045505/">Sloggi: Art for Humanity</a> is where its at.</p>
<p>There, that wasn&#8217;t so bad. August 23rd 2008 was when the event was at&#8230; Its only September 9th 2008 now :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2008/09/09/sloggi-art-for-humanity/feed</wfw:commentRss>
		</item>
		<item>
		<title>Abdullah and a shisha shop</title>
		<link>http://www.bytebot.net/blog/archives/2008/08/21/abdullah-and-a-shisha-shop</link>
		<comments>http://www.bytebot.net/blog/archives/2008/08/21/abdullah-and-a-shisha-shop#comments</comments>
		<pubDate>Fri, 22 Aug 2008 03:37:15 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[abdullah]]></category>

		<category><![CDATA[anne]]></category>

		<category><![CDATA[friends]]></category>

		<category><![CDATA[serhan]]></category>

		<category><![CDATA[shisha]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=955</guid>
		<description><![CDATA[
We haven&#8217;t seen Abdullah since we left high school. He scooted of on a plane in no time, after the main graduation party. It was fun catching up with him, listening to all the great stories he had to tell us, about life, and how he&#8217;s touching hearts, even as a doctor in training. It [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/byte/2784030850/" title="Abdullah visits KL by byte, on Flickr"><img src="http://farm4.static.flickr.com/3264/2784030850_8be25a9d80.jpg" width="500" height="333" alt="Abdullah visits KL" /></a><br />
We haven&#8217;t seen Abdullah since we left high school. He scooted of on a plane in no time, after the main graduation party. It was fun catching up with him, listening to all the great stories he had to tell us, about life, and how he&#8217;s touching hearts, even as a doctor in training. It is a pity he came by for a few days - at least he fit us into his schedule!</p>
<p><a href="http://www.flickr.com/photos/byte/2784050876/" title="Abdullah visits KL by byte, on Flickr"><img src="http://farm4.static.flickr.com/3044/2784050876_1170cbffb3.jpg" width="500" height="333" alt="Abdullah visits KL" /></a><br />
Anne and Serhan. Cute, aren&#8217;t they? Anne&#8217;s a really smart cookie, doing a biotech degree, and considering furthering her studies. She seems to always be stressed about weekly tests, but we&#8217;ve assured her they don&#8217;t last forever.</p>
<p>Don&#8217;t hesitate, to see the rest of the gang, attempting to inhale <i>shisha</i> (apparently, also known as <a href="http://en.wikipedia.org/wiki/Hookah">hookah</a>). Originated in India, but popular in the Arab world. Impressive. Oh, the rest of the gang - <a href="http://flickr.com/photos/byte/tags/abdullahvisitsklafter8years/">clicky clicky</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2008/08/21/abdullah-and-a-shisha-shop/feed</wfw:commentRss>
		</item>
		<item>
		<title>Bundle of joy</title>
		<link>http://www.bytebot.net/blog/archives/2008/08/21/bundle-of-joy</link>
		<comments>http://www.bytebot.net/blog/archives/2008/08/21/bundle-of-joy#comments</comments>
		<pubDate>Thu, 21 Aug 2008 10:17:47 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[aria]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=953</guid>
		<description><![CDATA[ Before Aria, I was not really kid-friendly. I never carried them, I never played with them, I generally didn&#8217;t like them. I&#8217;m guessing I still don&#8217;t, but Aria is the exception :)
I&#8217;ve been getting closer and closer to her, and I can now say, that she really does light up my life!
I notice I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/byte/2783978722/" title="Aria by byte, on Flickr"><img src="http://farm4.static.flickr.com/3235/2783978722_15e2f91dc0.jpg" align="left" width="500" height="333" alt="Aria" /></a> Before Aria, I was not really kid-friendly. I never carried them, I never played with them, I generally didn&#8217;t like them. I&#8217;m guessing I still don&#8217;t, but Aria is the exception :)</p>
<p>I&#8217;ve been getting closer and closer to her, and I can now say, that she really does light up my life!</p>
<p>I notice I drive really slowly when she&#8217;s in the car. I even turn the headlights on, in broad daylight. Playing with her, I truly get the meaning of a bundle of joy.</p>
<p>Today, she was on my lap, while I was reading a magazine, and attempting to proof-read it. It was serene.</p>
<p>P/S: More and more pictures to be uploaded in due time&#8230; My backlog from November 2007, is still around&#8230; iFail</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2008/08/21/bundle-of-joy/feed</wfw:commentRss>
		</item>
		<item>
		<title>Mother&#8217;s birthday bash</title>
		<link>http://www.bytebot.net/blog/archives/2008/07/28/mothers-birthday-bash</link>
		<comments>http://www.bytebot.net/blog/archives/2008/07/28/mothers-birthday-bash#comments</comments>
		<pubDate>Tue, 29 Jul 2008 02:59:06 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=900</guid>
		<description><![CDATA[ Its nice to be able to celebrate your mother&#8217;s birthday with her. In May, my mother achieved the magical age of being fifty. We managed to organise a party for her, that included having a magician/comedian, who&#8217;s apparently been admitted to some Book of Records for being great at doing mind tricks.
I missed the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/byte/2630889076/" title="Clara's Birthday Bash by byte, on Flickr"><img src="http://farm4.static.flickr.com/3108/2630889076_7724d9642b_m.jpg" width="240" height="160" alt="Clara's Birthday Bash" align="left" /></a> Its nice to be able to celebrate your mother&#8217;s birthday with her. In May, my mother achieved the magical age of being fifty. We managed to organise a party for her, that included having a magician/comedian, who&#8217;s apparently been admitted to some Book of Records for being great at doing mind tricks.</p>
<p>I missed the actual birthday, as I was in Sydney for work (conference joy), but a party two days before, definitely made up for it. Don&#8217;t hesitate to <a href="http://www.flickr.com/photos/byte/sets/72157605937231777/">check the set out</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2008/07/28/mothers-birthday-bash/feed</wfw:commentRss>
		</item>
		<item>
		<title>One Buck Short on Channel V AMP!</title>
		<link>http://www.bytebot.net/blog/archives/2008/06/24/one-buck-short-on-channel-v-amp</link>
		<comments>http://www.bytebot.net/blog/archives/2008/06/24/one-buck-short-on-channel-v-amp#comments</comments>
		<pubDate>Tue, 24 Jun 2008 10:46:57 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[Current Issues]]></category>

		<category><![CDATA[Only in Malaysia]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[channelv]]></category>

		<category><![CDATA[entertainment]]></category>

		<category><![CDATA[music]]></category>

		<category><![CDATA[one buck short]]></category>

		<category><![CDATA[television]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/archives/2008/06/24/one-buck-short-on-channel-v-amp</guid>
		<description><![CDATA[Tonight, One Buck Short, will be on Channel V, AMP. Its a 30 minute show, on the 24th of June 2008, at 8pm. ASTRO carries Channel V (and if you&#8217;re not in Malaysia, its on various networks). Watch them!
I&#8217;m excited about One Buck Short. Its a band I tend to track, and photograph when the [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight, <a href="http://www.onebuckshort.com/">One Buck Shor</a>t, will be <a href="http://www.onebuckshort.com/obsblog/?p=14">on</a> Channel V, <a href="http://amp.channelv.com/amp/viewArtist.html?id=1829">AMP</a>. Its a 30 minute show, on the 24th of June 2008, at 8pm. ASTRO carries Channel V (and if you&#8217;re not in Malaysia, its on various networks). Watch them!</p>
<p>I&#8217;m excited about One Buck Short. Its a band I tend to track, and photograph when the opportunity arises. I have sets, from 2005 when there were at <a href="http://flickr.com/photos/byte/sets/1578091/">Celcom/8TV Homegrown</a>, and in 2007 when they were at <a href="http://flickr.com/photos/byte/sets/72157600017457597/">JamAsia&#8217;s re-opening</a>. I have photos from their launch that still require processing, so expect them to arrive online soon enough.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2008/06/24/one-buck-short-on-channel-v-amp/feed</wfw:commentRss>
		</item>
		<item>
		<title>Checking in photography equipment?</title>
		<link>http://www.bytebot.net/blog/archives/2008/06/13/checking-in-photography-equipment</link>
		<comments>http://www.bytebot.net/blog/archives/2008/06/13/checking-in-photography-equipment#comments</comments>
		<pubDate>Sat, 14 Jun 2008 03:24:20 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[Travel]]></category>

		<category><![CDATA[airlines]]></category>

		<category><![CDATA[blog]]></category>

		<category><![CDATA[checked in luggage]]></category>

		<category><![CDATA[equipment]]></category>

		<category><![CDATA[flight]]></category>

		<category><![CDATA[luggage]]></category>

		<category><![CDATA[photographic equipment]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=836</guid>
		<description><![CDATA[I&#8217;ve been on what I consider, a blogging break. In reality, I&#8217;ve been working, and then having a modicum of a social life, finding less and less time to write blog entries. I have morsels of half-baked ramblings saved, so expect a load of posts to show up soon&#8230;
luna:toblog ccharles$ ls &#124;wc -l
29
For a comeback&#8230;
I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been on what I consider, a blogging break. In reality, I&#8217;ve been working, and then having a modicum of a social life, finding less and less time to write blog entries. I have morsels of half-baked ramblings saved, so expect a load of posts to show up soon&#8230;</p>
<p><tt>luna:toblog ccharles$ ls |wc -l<br />
29</tt></p>
<p>For a comeback&#8230;</p>
<p>I have been checking in my photographic equipment. I already carry a backpack with 2 laptops and various other tech gear (it probably weighs in at around 10KG, which airlines can frown at). Of late, I&#8217;ve also started carrying a briefcase. Where does my camera gear fit? In checked-in luggage of course!</p>
<p>This can be anywhere in the reigns of 3 Canon bodies, a 30/1.4, 50/1.4, 24-70/2.8, 70-200/2.8, 17-40/4, and a couple of flash units. Not exactly the cheapest of equipment, as I&#8217;m into good glass (read: L).</p>
<p>However, the one place I don&#8217;t tend to check equipment in, is when I fly to and from the US. The TSA have a <em>silly</em> rule that says your bags <strong>must be unlocked</strong>, or else they will break the lock for you. This has naturally led the paranoid me, not want to carry any professional camera gear into the US.</p>
<p>And today, my paranoia proves right. I found out that Matt (Wordpress fame) lost his <a href="http://ma.tt/2008/05/dont-check-your-valuables/">camera gear</a>, as did <a href="http://leorazellman.com/2008/06/12/4-reasons-not-to-fly-us-airways/">another blogger</a>.</p>
<p>Yes, this is on a certain particular American airline, but I wonder if its just baggage handlers that are dishonest with them, or baggage handlers that are dishonest in general? Also note that insurance tends not to pay (afaik, anyway) if your camera equipment or laptop gear is checked-in.</p>
<p>What are options for the <em>technophiles</em> in us, that fly a lot?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2008/06/13/checking-in-photography-equipment/feed</wfw:commentRss>
		</item>
		<item>
		<title>Identifying portrait/landscape in a set of images, with ImageMagick and BASH</title>
		<link>http://www.bytebot.net/blog/archives/2008/05/28/identifying-portraitlandscape-in-a-set-of-images-with-imagemagick-and-bash</link>
		<comments>http://www.bytebot.net/blog/archives/2008/05/28/identifying-portraitlandscape-in-a-set-of-images-with-imagemagick-and-bash#comments</comments>
		<pubDate>Wed, 28 May 2008 08:52:44 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[Graphics]]></category>

		<category><![CDATA[Photography]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[exif]]></category>

		<category><![CDATA[identify]]></category>

		<category><![CDATA[imagemagick]]></category>

		<category><![CDATA[landscape]]></category>

		<category><![CDATA[portrait]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/?p=824</guid>
		<description><![CDATA[I haven&#8217;t written much BASH of late, so was a bit rusty. The goal? A script that would go through a directory of JPGs, find those that are portrait shots, and place them in an appropriate folder. Do so similarly for landscapes.
Use cases? Those new digital photo frames. Buy two, and have many images scroll [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t written much BASH of late, so was a bit rusty. <strong>The goal?</strong> A script that would go through a directory of JPGs, find those that are portrait shots, and place them in an appropriate folder. Do so similarly for landscapes.</p>
<p><strong>Use cases?</strong> Those new digital photo frames. Buy two, and have many images scroll by, eh?</p>
<p><strong>What&#8217;s been done?</strong><br />
Making use of ImageMagick&#8217;s <a href="http://www.imagemagick.org/www/identify.html">identify</a> is what needs to be done. You&#8217;ll be using the <a href="http://www.imagemagick.org/www/command-line-options.html#format"><tt>-format</tt></a> option, which normally takes a <em>type</em> or <em>string</em>. A full list of what options are available for <tt><a href="http://www.imagemagick.org/www/escape.html">-format</a></tt> are available.</p>
<p>The choice is to use <tt>-format &#8216;%[exif:orientation]&#8216;</tt>. The output of <tt>identify -format &#8216;%[exif:orientation]&#8216;</tt> is either:</p>
<ul>
<li>1 - portrait</li>
<li>6 - landscape</li>
<li>8 - portrait (the way I normally shoot, with the battery grip)</li>
</ul>
<p>I&#8217;ve not seen much documentation about the above, so it seems like these values come from trial and error&#8230; They apply for Canon cameras that have EXIF orientation details. I&#8217;d be interested to hear from others what values they&#8217;re getting (or getting pointed to some documentation).</p>
<p><strong>The shell script?</strong></p>
<pre>#!/bin/sh

mkdir portrait
mkdir landscape

for i in *.jpg;
	do
	type=$(/opt/local/bin/identify -format '%[exif:orientation]' $i)
case $type in
	1)
	mv $i portrait;;
	6)
	mv $i landscape;;
	8)
	mv $i portrait;;
esac
done</pre>
<p><strong>Other bits of BASH?</strong><br />
If you do: <tt> type=$(/opt/local/bin/identify -format &#8216;%[exif:orientation]&#8216; $i) </tt>, you can grab the value from the command (1, 6, 8) and manipulate it. Check by doing <tt>echo $type</tt>.</p>
<p>If you&#8217;re after getting the return value from a command (i.e. 0 for success, 127 for error, and so on), you can do <tt>echo rv: $?</tt>.</p>
<p>All in all, remember to read the <a href="http://wooledge.org:8000/BashFAQ">BashFAQ</a>. <a href="http://wooledge.org:8000/BashGuide/TheBasics/TestsAndConditionals">Tests and Conditionals</a> was also essential to my reading.</p>
<p>ImageMagick rocks nonetheless. I&#8217;ve used it before to resize, append and much more&#8230; I&#8217;m thinking that maybe its time to read <a href="http://www.apress.com/book/view/1590595904">The Definitive Guide to ImageMagick</a>, written by <a href="http://www.stillhq.com/">Mikal</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2008/05/28/identifying-portraitlandscape-in-a-set-of-images-with-imagemagick-and-bash/feed</wfw:commentRss>
		</item>
		<item>
		<title>RAW Management and Conversion in Linux</title>
		<link>http://www.bytebot.net/blog/archives/2007/11/06/raw-management-and-conversion-in-linux</link>
		<comments>http://www.bytebot.net/blog/archives/2007/11/06/raw-management-and-conversion-in-linux#comments</comments>
		<pubDate>Tue, 06 Nov 2007 10:24:13 +0000</pubDate>
		<dc:creator>byte</dc:creator>
		
		<category><![CDATA[Graphics]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://www.bytebot.net/blog/archives/2007/11/06/raw-management-and-conversion-in-linux</guid>
		<description><![CDATA[Today, I was playing around with Linux, and RAW management. Not wanting to carry a laptop just for photo editing (i.e. I plan on travel without my MacBook Pro, and beautiful Lightroom, Aperture, iView Media Pro [okay, Microsoft Expression Media now], and Photoshop CS2), I figured I should make Linux up to scratch.
My favourite photo [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I was playing around with Linux, and RAW management. Not wanting to carry a laptop just for photo editing (i.e. I plan on travel <i>without</i> my MacBook Pro, and beautiful Lightroom, Aperture, iView Media Pro [okay, Microsoft Expression Media now], and Photoshop CS2), I figured I should make Linux up to scratch.</p>
<p>My favourite photo browser, is <a href="http://gqview.sourceforge.net/">GQview</a>. Its not standard software any longer, but its pretty old, and it works fairly well. It however, doesn&#8217;t support RAW. Today I discovered f-spot (ok, I discovered it ages ago, but I didn&#8217;t like its iPhoto-ness, where it wants to import stuff for you). Never fear, that&#8217;s what</p>
<p>&nbsp;&nbsp;&nbsp; <tt>f-spot &#8211;view &lt;path&gt;</tt></p>
<p>is for. Shortcut wise, its a little different, so I just use the up/down arrow keys to browse.</p>
<p>Now to convert the RAW files to JPGs, with preservation of EXIF data. I played around with the commands manually after reading the man page for <tt>dcraw</tt>, and figured there must be a better way. So I hopped on over to Yahoo!, did a little search, and came up with Jamie Zawinski&#8217;s <a href="http://www.jwz.org/hacks/mvpix">mvpix</a>. After changing the script a tad bit to suit my environment, I have images! RAW, JPEG, and copies of the JPEGs in an EDIT folder. <tt>mvpix</tt> also works on OS X.</p>
<p>The options being passed to <tt>dcraw</tt> seem to be simple: <tt>-w</tt> for using camera supplied white balance, <tt>-t 0</tt> for no tilting, and <tt>-c</tt> for writing decoded images to stdout. Its passed to <tt>cjpeg</tt>, and run at 95% quality. However, the images seem to be a tad different, and I have no idea why.
<div align="center"><a href="http://www.bytebot.net/shots/incamera-dcraw-jpg-diff.png"><img src="http://www.bytebot.net/shots/incamera-dcraw-jpg-diff_s.png" /></a><br /><i>On left, is when the camera was shooting in RAW+JPEG, and on right is the JPEG generated from the RAW file (<a href="http://www.bytebot.net/shots/incamera-dcraw-jpg-diff.png">click for larger image</a>). These are 100% zooms.</i></div>
<p>The colour differences befuddles me. Why does the camera come out with &#8220;brighter&#8221; RAW, and <tt>dcraw</tt> come up with paler tones?</p>
<div align="center"><a href="http://www.bytebot.net/shots/incamera-ufrawraw-dcrawjpg-differences.png"><img src="http://www.bytebot.net/shots/incamera-ufrawraw-dcrawjpg-differences_s.png" /></a><br /><i>On left, is what the in-camera JPEG gives, when you&#8217;re shooting in RAW+JPEG, in the middle is what UFRaw sees from the RAW file, and on the right is what the converted JPEG looks like, after being parsed through dcraw+cjpeg (<a href="http://www.bytebot.net/shots/incamera-ufrawraw-dcrawjpg-differences.png">click for larger image</a>).</i></div>
<p>What gives? Are there better options in <tt>dcraw</tt> to give me an as-close-to-in-camera JPEG experience? Are the converted images better/more true coloured? I&#8217;m not sure which to pick, and I&#8217;m not sure what&#8217;s the <i>correct</i> setting, to be honest. </p>
<p>Now about the photos. Apologies to the girl pictured here, all I know is that she&#8217;s probably a student at the Caulfield Campus of Monash University (so no, I don&#8217;t know her name). She was randomly picked for some quick studio photos, which was really just a bunch of us playing with a few studio strobes, and having the power of wireless triggers. These photos all rolled off an EOS 350D digital back, with a 50mm/1.4 lens attached to it, shot at f/1.6, at 1/25s. Sure, this should have really been made at f8, but there was no time to coax the girl.</p>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/linux" rel="tag">linux</a>, <a class="performancingtags" href="http://technorati.com/tag/raw" rel="tag">raw</a>, <a class="performancingtags" href="http://technorati.com/tag/cr2" rel="tag">cr2</a>, <a class="performancingtags" href="http://technorati.com/tag/gqview" rel="tag">gqview</a>, <a class="performancingtags" href="http://technorati.com/tag/f-spot" rel="tag">f-spot</a>, <a class="performancingtags" href="http://technorati.com/tag/jpg" rel="tag">jpg</a>, <a class="performancingtags" href="http://technorati.com/tag/dcraw" rel="tag">dcraw</a>, <a class="performancingtags" href="http://technorati.com/tag/mvpix" rel="tag">mvpix</a>, <a class="performancingtags" href="http://technorati.com/tag/cjpeg" rel="tag">cjpeg</a>, <a class="performancingtags" href="http://technorati.com/tag/colour%20correction" rel="tag">colour correction</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytebot.net/blog/archives/2007/11/06/raw-management-and-conversion-in-linux/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
