<?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>Pushing Pixels</title>
	<atom:link href="http://familywhitfield.co.uk/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://familywhitfield.co.uk/wordpress</link>
	<description>Computing and Digital Imaging</description>
	<pubDate>Sat, 24 May 2008 20:34:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Blog makeover</title>
		<link>http://familywhitfield.co.uk/wordpress/2008/05/18/blog-makeover/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2008/05/18/blog-makeover/#comments</comments>
		<pubDate>Sun, 18 May 2008 07:09:01 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[Google Earth/Maps]]></category>

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

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=60</guid>
		<description><![CDATA[
Just a quick note to describe some recent changes to this site.
I&#8217;ve changed the template from the attractive but not easily configurable &#8220;Feather&#8221; theme to Chris Pearson&#8217;s &#8220;Cutline 3 column&#8221; one. The initial advantage of this was it was easy to set up my own header images to be my own photos rather than someone [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/gregwhitfield/2452352585/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img src="http://farm4.static.flickr.com/3062/2452352585_417093156f_m.jpg" border="0" alt="header_2" width="240" height="35" /></a></p>
<p>Just a quick note to describe some recent changes to this site.</p>
<p>I&#8217;ve changed the template from the attractive but not easily configurable &#8220;Feather&#8221; theme to Chris Pearson&#8217;s &#8220;<a href="http://cutline.tubetorial.com/" target="_blank" onclick="javascript:pageTracker._trackPageview ('/outbound/cutline.tubetorial.com');">Cutline 3 column</a>&#8221; one. The initial advantage of this was it was easy to set up my own header images to be my own photos rather than someone else&#8217;s. All the headers are my own.</p>
<p>While it was nice to have each individual page type (posts, archives, pages, about etc) have their own header image, Chris posted a simple mod to the header PHP file that randomly selects an image from a set. Every time you visit the site or refresh a page you&#8217;ll get a different header. I intend updating the image set as often as I can. If you read further down this post I have described the header images currently in use.</p>
<p>But there have been more changes than this.</p>
<p><span id="more-60"></span></p>
<p>I have also updated to the latest 2.5.1 version of Wordpress - I was at 2.2 previously. The update was easy to do, so kudos to the authors of the program to make it idiot proof.</p>
<p>The cool new feature of 2.5.1 that I could use was widgets - the bits you see on the side panels. While they did exist in 2.2, they are much better and easier to set up with the newer version. I may have gone a bit widget mad, though. Here&#8217;s what you can currently see:</p>
<ul>
<li>Flickr sidebar - I&#8217;m turning into a massive fan of <a href="http://www.flickr.com" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');">Flickr</a>, and this widget lets me show an image selection.</li>
<li>PicLens Slideshow - The <a href="http://www.cooliris.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.cooliris.com');">Piclens plugin</a> is worthy of a whole post of its own. It is simply a stunningly good plugin for Internet Explorer and Firefox that provides a fantastic way of browsing image libraries. The dynamic mini-slideshow adds a nice touch to any blog, and by default just cycles through all the images in the blog. It <em>should</em> let you point it at a Flickr feed too, but I can&#8217;t get this working. There&#8217;s a support query in with the authors, but nothing back yet. Once this is fixed, though, then I can get rid of the Flickr sidebar.</li>
<li>Site Vistor Cluster maps - not actually a dedicated widget, but rather simply a bit of HTML in a generic text widget. This shows a map of where in the world people are who have been reading this blog. See the <a href="http://clustrmaps.com" target="_blank" onclick="javascript:pageTracker._trackPageview ('/outbound/clustrmaps.com');">Cluster Map homepage </a>for more information. It&#8217;s really easy to set up.</li>
</ul>
<p>The plugins I have currently installed are:</p>
<ul>
<li>Akismet comment anti-spam - I wish I had this earlier. The most popular post on this blog is the one about <a href="http://familywhitfield.co.uk/wordpress/2006/12/29/streamlining-your-pc-to-play-games/">streamlining your PC for games</a>,  but it keeps getting spammed. Since installing Akismet, however, I&#8217;ve not had to deal with idiotic comments advertising various unsavoury products.</li>
<li>Flickr Photo Gallery - provides a neat link between images on Flickr and blog posts.</li>
<li>Google Maps for Wordpress - already described in an <a href="http://familywhitfield.co.uk/wordpress/2008/05/07/google-maps-in-wordpress/">earlier post</a>.</li>
<li>WP Piclens - Provides a direct link to the Piclens image browser from any picture on the blog</li>
</ul>
<p><strong>Header Images - </strong><em>updated 24th May 2008</em></p>
<p>Here is the current set of header images along with descriptions of where they are from. Click on any of them to see bigger versions in Flickr - or just keep hitting different pages in this site until they get randomly selected:</p>
<table width=100% bgcolor="#ffffbb" border="1" frame="box">
<tr>
<td><a href="http://www.flickr.com/photos/gregwhitfield/2453181012/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img style="border: 0pt none; vertical-align: text-top;" src="http://farm3.static.flickr.com/2043/2453181012_107575da4d_m.jpg" border="0" alt="header_3" width="240" height="35" /></a></td>
<td> No prizes for guessing! A scan of a photo taken in 2003 while on holiday in Australia.</td>
</tr>
<tr>
<td>
<a href="http://www.flickr.com/photos/gregwhitfield/2452352585/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img style="border: 0pt none; float: right;" src="http://farm4.static.flickr.com/3062/2452352585_417093156f_m.jpg" border="0" alt="header_2" width="240" height="35" /></a> </td>
<td>Harbour of Roscoff in Brittany, France. Taken in 2007.</td>
</tr>
<tr>
<td>
<a href="http://www.flickr.com/photos/gregwhitfield/2452344715/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img style="border: 0pt none; vertical-align: text-top;" src="http://farm4.static.flickr.com/3227/2452344715_d7e927ce99_m.jpg" border="0" alt="header_1" width="240" height="35" /></a></td>
<td>Photo-stitch of 4 images taken from the top of Mount Stinson in New Hampshire, USA in 2004.</td>
</tr>
<tr>
<td>
<a href="http://www.flickr.com/photos/gregwhitfield/2501413578/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img class="alignright" style="border: 0pt none; vertical-align: text-top;" src="http://farm4.static.flickr.com/3017/2501413578_86719fdd00_m.jpg" border="0" alt="Ribblesdale viaduct" width="240" height="35" /></a></td>
<td> Ribblesdale viaduct in the Yorkshire Peaks.</td>
</tr>
<tr>
<td>
<a href="http://www.flickr.com/photos/gregwhitfield/2500584625/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img style="border: 0pt none; vertical-align: text-top;" src="http://farm4.static.flickr.com/3047/2500584625_f6af4dfdb7_m.jpg" border="0" alt="Yorkshire Dales" width="240" height="35" /></a></td>
<td>View from a walk in Yorksire Peaks near Ribblesdale viaduct, on the way down from Whernside.</td>
</tr>
<tr>
<td>
<a href="http://www.flickr.com/photos/gregwhitfield/2501413534/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img class="alignright" style="border: 0pt none; vertical-align: text-top;" src="http://farm4.static.flickr.com/3011/2501413534_edb29cff1a_m.jpg" border="0" alt="Rapeseed field" width="240" height="35" /></a></td>
<td>View of, I think, rapeseed field. Taken near Darley Abbey in Notts.</td>
</tr>
<tr>
<td>
<a href="http://www.flickr.com/photos/gregwhitfield/2518575585/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img style="border: 0pt none; vertical-align: top;" src="http://farm3.static.flickr.com/2361/2518575585_7981e5c404_m.jpg" border="0" alt="Mont Major, New Hampshire" width="240" height="35" /></a></td>
<td>Photo-stich of four images, taken from Mount Major in New Hampshire.</td>
</tr>
<tr>
<td>
<a href="http://www.flickr.com/photos/gregwhitfield/2519348952/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img style="border: 0pt none; vertical-align: top;" src="http://farm4.static.flickr.com/3186/2519348952_ddba9cb958_m.jpg" border="0" alt="pebbles" width="240" height="35" /></a></td>
<td>Pebbles on a beach in Sidmouth, Devon.</td>
</tr>
<tr>
<td>
<a href="http://www.flickr.com/photos/gregwhitfield/2518528855/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img style="border: 0pt none; vertical-align: top;" src="http://farm4.static.flickr.com/3152/2518528855_4bb9e01d8b_m.jpg" border="0" alt="Canal Lock" width="240" height="35" /></a></td>
<td>Canal Lock, converted to black &amp; white as a post process.</td>
</tr>
<tr>
<td>
<a href="http://www.flickr.com/photos/gregwhitfield/2518528745/" class="tt-flickr tt-flickr-Small" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img style="border: 0pt none; vertical-align: top;" src="http://farm3.static.flickr.com/2316/2518528745_fdeff92ef8_m.jpg" border="0" alt="Darling Harbour" width="240" height="35" /></a></td>
<td>Darling Harbour, Sidney Australia.</td>
</tr>
</table>
<p>All these images are also geo-tagged in Flickr, so if you do click on them to see in Flickr you can access a map of the exact location they were taken. This is a neat example of the integration of online albums, blogs, and mapping - all for free!</p>
<p>To fit nicely with the Cutline theme, these images have to be long and thin at 970&#215;140 pixels. Luckily this is easy to do in Photoshop - just set the custom crop size to 970&#215;140, and interactively select the area wanted. The challenge is in finding sections of images of this aspect ratio that are good and/or interesting in some way. I make no claims to being successful in either of these aims for all of the images. But, as mentioned earlier, I will periodically update the image set.</p>
<a href="javascript:toggleStartStop();PicLensLite.start({feedUrl:'http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/mrss.php?id=60'});">Start Slide Show with PicLens Lite <img src="http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/PicLensButton.png" alt="PicLens" width="16" height="12" border="0" align="top"></a>]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2008/05/18/blog-makeover/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google maps in Wordpress</title>
		<link>http://familywhitfield.co.uk/wordpress/2008/05/07/google-maps-in-wordpress/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2008/05/07/google-maps-in-wordpress/#comments</comments>
		<pubDate>Wed, 07 May 2008 07:18:58 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[Google Earth/Maps]]></category>

		<category><![CDATA[Google Maps]]></category>

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

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=58</guid>
		<description><![CDATA[I have been creating my own Google maps a lot recently, largely in support of an upcoming attempt at the 3 Peaks 24 hour challenge - hiking up the three highest mountains in the UK all in 24 hours. I&#8217;ve got various maps for the three hiking trails, plus a few put together to help [...]]]></description>
			<content:encoded><![CDATA[<p>I have been creating my own Google maps a lot recently, largely in support of an upcoming attempt at the 3 Peaks 24 hour challenge - hiking up the three highest mountains in the UK all in 24 hours. I&#8217;ve got various maps for the three hiking trails, plus a few put together to help plan training walks.</p>
<p>I&#8217;ve been scratching around for a while experimenting with various ways of sharing these maps, and embedding within a Wordpress blog seems a good thing to do.<br />
<span id="more-58"></span></p>
<p>For blogs that you host yourself and can upload new plugins too, there is <a href="http://avi.alkalay.net/2006/11/google-maps-plugin-for-wordpress.html" onclick="javascript:pageTracker._trackPageview ('/outbound/avi.alkalay.net');">Inline Google Maps</a>, which gives results like this:</p>
<p>And lets see!</p>
<p>Oh&#8230;.the damned thing doesn&#8217;t work&#8230;..Back to the drawing board&#8230;.</p>
<p>Here&#8217;s an attempt with<a href="http://wordpress.org/extend/plugins/google-maps-for-wordpress/" onclick="javascript:pageTracker._trackPageview ('/outbound/wordpress.org');"> Google Maps for Wordpress</a> :</p>
<div id='map_2' style='width:100%; height:300px;' class='googleMap'></div>
<div id='dir_2'></div>
<script type="text/javascript">
//<![CDATA[
if (GBrowserIsCompatible()) {
    wpGMaps.wpNewMap(2, {"name":"Chatsworth, Derbyshire","mousewheel":true,"zoompancontrol":true,"typecontrol":true,"directions_to":false,"directions_from":false,"width":"100%","height":"300px","description":"Somewhere nice","address":"Chatsworth, Derbyshire"});
}
//]]&gt;
</script>
<p>This works really nicely - lots of control over the map, and you get immediate navigation. And it just worked. But the problem with this is that apparently I can only use place names for the map. What I <em>really</em> want to do is to embed my own custom maps. For example, <a href="http://maps.google.co.uk/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=110872770045489580233.00044aaf82b17c415b00c&amp;z=7" title="Click for map" target="_blank">this one</a> for the 3 Peaks challenge.</p>
<p>I&#8217;ve left a query with the author of the plugin, but in the meantime it&#8217;s back to the drawing board again for GM plugins.</p>
<p><strong><em>Update (23rd May)</em></strong>: The author - Aaron Campbell - said in <a href="http://xavisys.com/google-maps-for-wordpress/#comment-1586" onclick="javascript:pageTracker._trackPageview ('/outbound/xavisys.com');">this comment</a> saying that at present he has no plans to update the plugin to take user specified maps. This is a great shame - customised Google maps are incredibly useful, and being able to embed these in a posting would be great. So, maybe I&#8217;ll write my own plugin. It&#8217;s only software - how hard can it be? :)  Don&#8217;t hold your breath though, I&#8217;m a busy chap&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2008/05/07/google-maps-in-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Posing Robin</title>
		<link>http://familywhitfield.co.uk/wordpress/2008/04/29/posing-robin/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2008/04/29/posing-robin/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 15:48:37 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

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

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=55</guid>
		<description><![CDATA[

While out walking one chilly morning in Attenborough nature reserve I spotted this Robin. Luckily for me he was in posing mood and I managed to get pretty close with my 200mm lens. The image is uncropped - I got within just a few feet of him.
I got some nice comments on the image from [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/gregwhitfield/2400571848/" title="photo sharing" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img src="http://farm3.static.flickr.com/2374/2400571848_142609062d_m.jpg" alt="" style="border: solid 2px #000000;" /></a><br />
</p>
<p>While out walking one chilly morning in Attenborough nature reserve I spotted this Robin. Luckily for me he was in posing mood and I managed to get pretty close with my 200mm lens. The image is uncropped - I got within just a few feet of him.</p>
<p>I got some nice comments on the image from the people over at Flickr.com, and thought it worthwhile to post here too (see the links panel for more of my pictures on  Flickr). I&#8217;ve also recently been getting into Flickr a lot, and this was an opportunity to link my gallery straight to this blog for a bit of a test. Regular readers will have noticed that at long last I have chosen a different theme - the header images are all mine, although I plan on randomising the set to add a bit of variety.</p>
<p>Hopefully this hooking together of online galleries and Wordpress means I can keep my earlier promise of updating this site more frequently. </p>
<a href="javascript:toggleStartStop();PicLensLite.start({feedUrl:'http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/mrss.php?id=55'});">Start Slide Show with PicLens Lite <img src="http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/PicLensButton.png" alt="PicLens" width="16" height="12" border="0" align="top"></a>]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2008/04/29/posing-robin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sign of a bad blog&#8230;.</title>
		<link>http://familywhitfield.co.uk/wordpress/2008/04/10/sign-of-a-bad-blog/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2008/04/10/sign-of-a-bad-blog/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 20:28:22 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

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

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=51</guid>
		<description><![CDATA[The sign of a bad blog is that it hardly ever gets updates. In other words, this one!

It&#8217;s hard to believe that six months have gone by without a single new posting, which is rather poor of me. My only excuse is that I have a life, and finding time to write some coherent thoughts [...]]]></description>
			<content:encoded><![CDATA[<p>The sign of a bad blog is that it hardly ever gets updates. In other words, this one!</p>
<p><a href="http://www.flickr.com/photos/gregwhitfield/2399737599/" title="Long Tailed Tit' by GregWhitfield, on Flickr" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');"><img src="http://farm3.static.flickr.com/2350/2399737599_0c66d84748_m.jpg" width="240" height="160" alt="Long Tailed Tit'" /></a></p>
<p>It&#8217;s hard to believe that six months have gone by without a single new posting, which is rather poor of me. My only excuse is that I have a life, and finding time to write some coherent thoughts on things, at the expense of other activities, is often too hard to justify.</p>
<p>And yet there is lots I would like to chuck out there, and lots of things I have been experimenting with or starting to use. For example Fogbugz (a software management tool), how do you choose an online gallery, and DIY desktop mixed reality. So here&#8217;s hoping I get the chance.</p>
<p>The picture introducing this post is a Long Tailed Tit I spotted while walking in <a href="http://www.attenboroughnaturecentre.co.uk">Attenborough nature reserve</a>, using my new Canon 80-300mm IS (Image Stabilised) lens. It was pretty much a reaction shot - the bird did not sit still for more than a few seconds, and I have several pictures showing empty twigs with just the blur of a tail feather exiting the frame. Click on the image to see a bigger version via Flickr (since this was originally written I&#8217;ve been getting to grips with this online gallery).</p>
<p>I&#8217;m pretty impressed with the lens so far, even after just a single brief outing. I got it for wildlife and sports/action photography. I still need to experiment with the image stabilisation feature to get the best out of it.</p>
<a href="javascript:toggleStartStop();PicLensLite.start({feedUrl:'http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/mrss.php?id=51'});">Start Slide Show with PicLens Lite <img src="http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/PicLensButton.png" alt="PicLens" width="16" height="12" border="0" align="top"></a>]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2008/04/10/sign-of-a-bad-blog/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My photos in Google Earth</title>
		<link>http://familywhitfield.co.uk/wordpress/2007/10/03/my-photos-in-google-earth/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2007/10/03/my-photos-in-google-earth/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 12:36:31 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Google Earth/Maps]]></category>

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

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=48</guid>
		<description><![CDATA[
A few weeks ago I wrote about using Panoramio to publish and view images from around the world in Google Earth and Google Maps. At the time I posted just a single beach scene from Hamilton Island in Australia as a test image and noted that it takes a while for these images to appear [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/10/grwgooglemap.jpg" title='My photos in Google Maps'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/10/grwgooglemap.thumbnail.jpg' alt='My photos in Google Maps' /></a></p>
<p>A few weeks ago I wrote about <a href="http://familywhitfield.co.uk/wordpress/?p=23">using Panoramio</a> to publish and view images from around the world in Google Earth and Google Maps. At the time I posted just a single beach scene from Hamilton Island in Australia as a test image and noted that it takes a while for these images to appear to any user of Google Earth. At long last these have now appeared!</p>
<p>After I wrote the article I added a <a href="http://www.panoramio.com/user/602862" onclick="javascript:pageTracker._trackPageview ('/outbound/www.panoramio.com');">few more images</a> I had lying around. After a few weeks, they started being flagged by the Panoramio reviewers as having been accepted by Google Earth.</p>
<p><span id="more-48"></span></p>
<p>However, when I looked at Google Earth I found that not all of the pictures were there. But a quick look at Google Maps showed that they were all present for anyone on the web to look at:</p>
<p><a href="http://www.panoramio.com/map/?user=602862#lt=4.0800705&#038;ln=48.814402&#038;z=16" title='My photos in Google Maps' onclick="javascript:pageTracker._trackPageview ('/outbound/www.panoramio.com');"><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/10/grwgooglemap.jpg' alt='My photos in Google Maps' /></a></p>
<p>There appears to be a lag of around a couple of weeks between the image being flagged in Panoramio as being accepted and it appearing to other users of Google Earth despite it appearing in Google Maps much sooner. While I still really like Panoramio and will continue to add photos to it, I must admit to being frustrated by the long wait between submission and publishing of images. For my beach image it was a period of nearly two months, which I think will put a lot of people off. </p>
<p>Despite this there is a bit of a thrill in seeing your own photos in Google Earth. I&#8217;ve taken a screen shot to show the images as they appear from the <a href="http://www.panoramio.com/kml/?user=602862" onclick="javascript:pageTracker._trackPageview ('/outbound/www.panoramio.com');">Panoramio link</a>. Since I can only see one side of the globe only a few images are visible - I&#8217;ve ringed them in red. Although looking at the image again, perhaps I should have drawn a nose somewhere mid-Atlantic and a smile somewhere near Ascension Island!</p>
<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/10/grwgoogleearth.jpg" title='My photos in Google Earth'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/10/grwgoogleearth.jpg' alt='My photos in Google Earth' /></a></p>
<p>One improvement I would like to see is an optional email notification when an image has been accepted, and again when it is available in the various online applications.</p>
<a href="javascript:toggleStartStop();PicLensLite.start({feedUrl:'http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/mrss.php?id=48'});">Start Slide Show with PicLens Lite <img src="http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/PicLensButton.png" alt="PicLens" width="16" height="12" border="0" align="top"></a>]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2007/10/03/my-photos-in-google-earth/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Photosynth - reconstruction of 3D spaces from photos</title>
		<link>http://familywhitfield.co.uk/wordpress/2007/08/19/photosynth-reconstruction-of-3d-spaces-from-photos/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2007/08/19/photosynth-reconstruction-of-3d-spaces-from-photos/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 18:26:19 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Computer Graphics]]></category>

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

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=26</guid>
		<description><![CDATA[
I was fortunate enough to go to Siggraph this year in San Diego, which is the premier conference for new research relating to computer graphics. While the technology I&#8217;m going to write about in this article was not presented there this year, it another example of one of an increasing number of research projects to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/08/photosynth.jpg" title='Photosynth'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/08/photosynth.thumbnail.jpg' alt='Photosynth' /></a></p>
<p>I was fortunate enough to go to <a href="http://www.siggraph.org/s2007/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.siggraph.org');">Siggraph </a>this year in San Diego, which is the premier conference for new research relating to computer graphics. While the technology I&#8217;m going to write about in this article was not presented there this year, it another example of one of an increasing number of research projects to use the vast array of photos available through online communities such as <a href="http://www.flickr.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.flickr.com');">Flickr</a>.</p>
<p>Microsoft have recently released a techology preview of a stunning new piece of technology called &#8220;Photosynth&#8221;.  The aim is to create three dimensional &#8220;spaces&#8221; of real places and buildings by analysing and processing photos taken from differing viewpoints. The idea of creating <em>spaces </em>is subtly different from creating <em>models</em>. The former places the emphasis on something that is navigable and in which you feel immersed. Model reconstruction, on the other hand, is the creation of a 3D representation that can be places within a virtual environment, perhaps as part of a larger scene.</p>
<p>It is incredibly cool stuff. This article introduces the ideas and shows where to go for more information.</p>
<p><span id="more-26"></span></p>
<p>The technology to create a 3D model from a set of photos is not all that new. Indeed, I worked on a project with <a href="http://en.wikipedia.org/wiki/Real3d" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">Real3D Inc</a> a few years ago that was all about creating 3D models of people&#8217;s faces from two or more photos. But many of these approaches depend on a photographer setting up his shots in a certain way, and explicitely defining the relationships between images. What Photosynth does, however, is use the millions of images available in online photo communities to assemble a 3D space of a real place using a montage of pictures taken by many different people at different times. This montage could consist of thousands of individual source images.</p>
<p>A great way to see this in action is to <a href="http://www.ted.com/index.php/talks/view/id/129" onclick="javascript:pageTracker._trackPageview ('/outbound/www.ted.com');">watch the demo video</a> on the excellent <a href="http://www.ted.com" onclick="javascript:pageTracker._trackPageview ('/outbound/www.ted.com');">TED site</a>. It is only about seven or eight minutes long. If you are interested in technology and want to feel inspired by some great thinkers, then a browse around TED will be time worth spending.</p>
<p>If you fancy having a go yourself, then you can access an online prototype at the <a href="http://go.microsoft.com/?linkid=7038733" onclick="javascript:pageTracker._trackPageview ('/outbound/go.microsoft.com');">Photosynth research homepage</a>. It is free, and just requires you to download a small plugin that works with both Internet Explorer and Firefox. Here&#8217;s a screenshot from my PC:</p>
<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/08/photosynth.jpg" title='Photosynth'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/08/photosynth.jpg' alt='Photosynth' /></a></p>
<p>The scene is of the Piazza San Marco in Venice. The main image is a combination of one or more photos from an online collection placed within a 3D scene represented by a pointcloud that Photosynth generated from processing the photos. The strip along the bottom shows the primary contributing image to the scene, and also related images that are spatially close. Remember that these pictures could have been taken by hundreds of different people, and many are just holiday snaps. You can navigate around the Piazza in 3D using the controls on the image or the mouse.</p>
<p>At the moment the creation of spaces can only be done by the authors using their own specially processed database of images derived from a public photo community. But imagine the possibilities if you combined this with the <a href="http://www.panoramio.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.panoramio.com');">Panoramio </a>geotagged image database? Of course there is a small issue of corporate politics that would prevent this, unless Google and Microsoft merge. Yeah, right&#8230;.</p>
<p>Expect to see more and more applications that exploit vast online image libaries for various uses. In upcoming articles I will describe a couple of recent research projects presented at Siggraph.</p>
<a href="javascript:toggleStartStop();PicLensLite.start({feedUrl:'http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/mrss.php?id=26'});">Start Slide Show with PicLens Lite <img src="http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/PicLensButton.png" alt="PicLens" width="16" height="12" border="0" align="top"></a>]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2007/08/19/photosynth-reconstruction-of-3d-spaces-from-photos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Panoramio - See your photos in Google Earth</title>
		<link>http://familywhitfield.co.uk/wordpress/2007/07/22/panoramia-see-your-photos-in-google-earth/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2007/07/22/panoramia-see-your-photos-in-google-earth/#comments</comments>
		<pubDate>Sun, 22 Jul 2007 21:52:29 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Google Earth/Maps]]></category>

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

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=23</guid>
		<description><![CDATA[
Something I came across recently was the ability to share your own photos of places around the globe using Google Earth. A Spanish company called Panoramio have created a very easy way of selecting locations on the globe and adding your own pictures. Other users of Google Earth can then see these photos by clicking [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/panoramio1.jpg" title='Panoramia overlay in Google Earth'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/panoramio1.thumbnail.jpg' alt='Panoramia overlay in Google Earth' /></a></p>
<p>Something I came across recently was the ability to share your own photos of places around the globe using Google Earth. A Spanish company called <a href="http://www.panoramio.com" onclick="javascript:pageTracker._trackPageview ('/outbound/www.panoramio.com');">Panoramio</a> have created a very easy way of selecting locations on the globe and adding your own pictures. Other users of Google Earth can then see these photos by clicking on the camera symbols that get overlaid onto the map. </p>
<p>At first sight Panoramio looks just like yet another website that hosts online galleries. You can store upto 2Gb of pictures for free. Other users of the site can browse your pictures. But the big difference here is that you can do this by clicking on a Google Map window, and have the images appear to other people via Google Earth. A two way link between an image browser list and the map window means selecting an image in either window will select it in the other so you can see in a very dynamic way where pictures were taken. It is much easier to try than describe - go to the <a href="http://www.panoramio.com/map" onclick="javascript:pageTracker._trackPageview ('/outbound/www.panoramio.com');">Panoramio Map</a> and have a play.</p>
<p>And then the <em>really</em> smart thing is link into 3D with Google Earth. Read on&#8230;<br />
<span id="more-23"></span></p>
<p>When you upload a photo to Panoramia you get the option of picking the place in the world where it was taken. This will not instantly appear to other web users - the company has an approval process that takes around a month, which I guess is to insure against unsuitable content and just plain wrong locations.</p>
<p>While awaiting approval, however, you can still see the images on your own local Google Earth, and also send the links to other users. For example, the following image shows one of mine:</p>
<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/panoramio1.jpg" title='Panoramia overlay in Google Earth'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/panoramio1.jpg' alt='Panoramia overlay in Google Earth' /></a></p>
<p>This is a screenshot from Google Earth that shows a small thumbnail of a beach shot I took when in Australia a few years ago. It is just a test image I uploaded to Panoramia. </p>
<p>Note that if you zoom in using Google Earth, then all the small blue balls change to the camera symbols mentioned earlier and shown in the next image:<br />
<a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/panoramio3.jpg" title='Camera symbols is Panoramio'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/panoramio3.jpg' alt='Camera symbols is Panoramio' /></a></p>
<p>
Finally, if you click on either the thumbnail or one of the camera symbols you will get a Panoramia window popping up that shows a bigger version of the image along with a few other options. </p>
<p>
In my case, clicking on the beach scene shows a much larger version of the image wrapped in the Panoramia pop window. You can see this below.<br />
<a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/panoramio2.jpg" title='Panoramio image'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/panoramio2.jpg' alt='Panoramio image' /></a></p>
<p>
At the moment I have only put this single file on Panoramio. I want to look through some of the pictures I&#8217;ve taken over the years and put them on the map. I think the standard tourist places have been done to death, so I&#8217;ll look to find some locations that either do not have many existing images, or that are significantly different from the ones already posted. If you want to keep up with my images, then look at <a href="http://www.panoramio.com/user/602862" onclick="javascript:pageTracker._trackPageview ('/outbound/www.panoramio.com');">my Panoramia page</a>, or just search for user &#8220;gwhitfield&#8221;.</p>
<p>It is worth mentioning that even if you never intend to post any of your own photos the site is worth a browse - there are some simply stunning images. Looking at pictures of places you are familiar provides some interesting perspectives, not to mention a little envy at how good other people are with their cameras! For any keen photographer or happy snapper, the Panoramia stuff is well worth a browse. But for the best experience do it via Google Earth as described earlier.</p>
<p>Panoramia was recently acquired by Google so expect to see much more innovation coming out.</p>
<h2>In my dreams&#8230;.</h2>
<p>What I would really like to see is a link up between Panoramia and the geolocation feature in Adobe Photoshop Elements 5. For those not familiar with Elements, it provides a way you can tag the location photos were taken. But it uses flat Yahoo Maps, and there is no uploading involved - it is all local to your PC which makes sharing difficult. What would be great is the ability to upload and link directly to Google Earth via Panoramia.</p>
<a href="javascript:toggleStartStop();PicLensLite.start({feedUrl:'http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/mrss.php?id=23'});">Start Slide Show with PicLens Lite <img src="http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/PicLensButton.png" alt="PicLens" width="16" height="12" border="0" align="top"></a>]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2007/07/22/panoramia-see-your-photos-in-google-earth/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Going agricultural</title>
		<link>http://familywhitfield.co.uk/wordpress/2007/07/18/going-agricultural/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2007/07/18/going-agricultural/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 22:57:53 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Life]]></category>

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

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=32</guid>
		<description><![CDATA[ 
It&#8217;s finally happened - I have at last changed my faithful petrol engined Lexus IS200 to a diesel Honda Civic.
And it sounds like a tractor.

I&#8217;ve had the Lexus for 4 years now and it has been a genuinely great car - never missed a beat in 60k miles, looks the biz:



It also drives like [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-4.jpg" title='Honda Civic close-up'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-4.jpg' alt='cars-4.jpg' /></a> </p>
<p>It&#8217;s finally happened - I have at last changed my faithful petrol engined Lexus IS200 to a diesel Honda Civic.</p>
<p>And it sounds like a tractor.<br />
<span id="more-32"></span><br />
I&#8217;ve had the Lexus for 4 years now and it has been a genuinely great car - never missed a beat in 60k miles, looks the biz:</p>
<p>
<a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-1-1.jpg" title='Lexus IS200'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-1-1.jpg' alt='cars-1-1.jpg' /></a></p>
<p><p>
It also drives like a dream. Six speed gearbox on a straight six cylinder engine, rear wheel drive, and all the gadgets in the cabin. Here&#8217;s another view after a bit of photoshopping (hey, I&#8217;ve got to bring photography in here somewhere!).</p>
<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-6.jpg" title='Lexus with B&#038;W background'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-6.jpg' alt='Lexus with B&#038;W background' /></a></p>
<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-2.jpg" title='Civic front quarter'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-2.jpg' alt='cars-2.jpg' /></a></p>
<p>So why get rid? It comes down to running costs. The IS200 is not exactly known for it&#8217;s frugal use of petrol - you do well to get 30mpg out of it. I&#8217;m doing 90 miles per day with about 2/3 of those being on the motorway. It was also knocking on a bit, and would probably start to need things like new tires, exhaust, and more frequent service intervals.</p>
<p>So, I&#8217;ve been sensible and switched to a diesel. In choosing the new Honda Civic ES 2.2 CTDi I went for practicality in a Battlestar Galactica wrapper. All it&#8217;s missing now is <a href="http://www.scifi.com/battlestar/cast/six/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.scifi.com');">Number Six</a> draped over the bonnet&#8230;<br />
<a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-11.jpg" title='Civic blurred background'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-11.jpg' alt='Civic blurred background' /></a><br />
Only had it a couple of days, but I&#8217;m averaging 50mpg to and from work.</p>
<p>Truth be told, it is not as nice to drive as the Lexus. The seating position is hard to get used to - or maybe it&#8217;s just my dodgy leg. But the damn thing flies when you stick your foot down - it&#8217;s actually quicker than the Lexus. It also looks great, and has a good equipment level. If I could just transplant my Lexus seat and the six CD autochanger to this car&#8230;</p>
<p>But changing cars is always an excuse to get the camera out - firstly to take snaps of the old one, and secondly to record what the new car looks like when it is clean. Most of the pictures here are straight snaps, and not very interesting. The two exceptions are the black &#038; white background image of the Lexus, and the background-blurred Civic.</p>
<p>The first of these was done by simply masking out the car in Photoshop Elements, taking care to keep the straight-through windows unmasked. And then a saturation adjustment layer took the colour out of the unmasked area. It&#8217;s not brilliant - I was just playing with technique rather than spending time getting the mask pixel-perfect.</p>
<p>The blur on the Civic is a simple trick. First separate the car into a new layer. Then apply a radius-blur filter to the background, and then blend in the car again. I&#8217;ve probably not softened the mask enough on the roof, and so that looks a bit poor. Originally I had a crystaline pattern to break up the number plate, but this looked very odd with the blur and so I replaced it with a low noise fill. Still could do with some work on that area though.</p>
<p><a href="http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-3.jpg" title='Civic rear view'><img src='http://familywhitfield.co.uk/wordpress/wp-content/uploads/2007/07/cars-3.jpg' alt='cars-3.jpg' /></a></p>
<p>The image showing the rear view of the Civic has suffered aliasing problems on scaling the picture for the web. It&#8217;s not a very well balanced picture either in terms of both composition and light levels.</p>
<a href="javascript:toggleStartStop();PicLensLite.start({feedUrl:'http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/mrss.php?id=32'});">Start Slide Show with PicLens Lite <img src="http://familywhitfield.co.uk/wordpress/wp-content/plugins/wp-piclens/PicLensButton.png" alt="PicLens" width="16" height="12" border="0" align="top"></a>]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2007/07/18/going-agricultural/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blog title change</title>
		<link>http://familywhitfield.co.uk/wordpress/2007/07/13/blog-title-change/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2007/07/13/blog-title-change/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 11:32:05 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=25</guid>
		<description><![CDATA[I&#8217;ve changed the title from the rather inane &#8220;Greg&#8217;s Techie Stuff&#8221; to the snappier &#8220;Bytes &#038; Pixels&#8221;. No particular reason, other than it is better than &#8220;Bits and Pieces&#8221;, and I have a rubbish imagination for things like titles. Any suggestions welcome - not that anyone actually reads this site&#8230;
It also reflects what I want [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve changed the title from the rather inane &#8220;Greg&#8217;s Techie Stuff&#8221; to the snappier &#8220;Bytes &#038; Pixels&#8221;. No particular reason, other than it is better than &#8220;Bits and Pieces&#8221;, and I have a rubbish imagination for things like titles. Any suggestions welcome - not that anyone actually reads this site&#8230;</p>
<p>It also reflects what I want to concentrate my writing on - computing, digital imaging, and computer graphics.</p>
<p>I also aim to find a snazzier template, rather than the default Wordpress one. Not that there&#8217;s anything wrong with it - just that for a site talking about imagery there is a remarkable lack of any pictures here! Of course, you could always click on the Gallery link on one of the widgets at the side of the page.</p>
<p><strong>Update 19th July - </strong>Changed to &#8220;Feather&#8221; theme for a while. Looks quite nice, but the heading styles don&#8217;t go deep enough for me so I&#8217;ll probably change again soon.<br />
<strong>Update 5th April - </strong> Or not! </p>
<p><strong>Another Update</strong> - Inspired by <a href="http://www.partiv.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.partiv.com');">Parny</a>, blog name changed to &#8220;Pushing Pixels&#8221;. Thanks Steve!</p>
]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2007/07/13/blog-title-change/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A simple Perforce backup script for the home</title>
		<link>http://familywhitfield.co.uk/wordpress/2007/07/07/a-simple-perforce-backup-script-for-the-home/</link>
		<comments>http://familywhitfield.co.uk/wordpress/2007/07/07/a-simple-perforce-backup-script-for-the-home/#comments</comments>
		<pubDate>Sat, 07 Jul 2007 20:46:38 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
		
		<category><![CDATA[Perforce]]></category>

		<guid isPermaLink="false">http://familywhitfield.co.uk/wordpress/?p=24</guid>
		<description><![CDATA[I use the free license of Perforce on my home network just to ensure version control and management of home coding projects, university thesis stuff, and general files that I just want to ensure I have previous versions of. It&#8217;s a really nice part of the Perforce licensing model that I can get two users [...]]]></description>
			<content:encoded><![CDATA[<p>I use the free license of <a href="http://www.perforce.com" onclick="javascript:pageTracker._trackPageview ('/outbound/www.perforce.com');">Perforce</a> on my home network just to ensure version control and management of home coding projects, university thesis stuff, and general files that I just want to ensure I have previous versions of. It&#8217;s a really nice part of the Perforce licensing model that I can get two users and five clients for free. My network has my main PC (with Perforce depot), my personal laptop, my wife&#8217;s laptop, and my work laptop all connected. It&#8217;ll get worse when my four-year old starts wanting to source control things from his PC!</p>
<p>Having been responsible for some pretty heavyweight Perforce installations in my working life, I did not want to forget the golden rule of checkpointing and backing up. While it would not be a disaster if my Perforce data got lost or messed up, it would be an inconvenience. The scripts published on Perforce user forums, however, tend to be focussed on industrial installations and can be quite complex. For the home it is nice to have something more simple.<br />
<span id="more-24"></span></p>
<p>So the script here is really aimed at the home user. I don&#8217;t use Perforce everyday at home, and so a nightly checkpoint and backup is a waste of time. I tend to run it every two to four weeks. My environment is that I have my main home PC running Perforce, and hanging off this on a USB-2 link is a Western-Digital MyBook external drive that shows itself as D: .  Sitting in the Perforce root folder (where the P4 db.* files are, and defined by the P4ROOT environment variable), I have a simple batch file called &#8220;backup.bat&#8221; (see code below).</p>
<p>The basic backup mechanism is this:</p>
<ol>
<li>Stop the Perforce server</li>
<li>Take a checkpoint</li>
<li>Copy checkpoint to a location on the MyBook external disk</li>
<li>Copy checkpoints to a location on the main PC - just duplication for safety</li>
<li>Delete checkpoints from P4ROOT</li>
<li>Use Robocopy to incrementally backup all depot files for each depot</li>
<li>Restart Perforce server</li>
</ol>
<p>Here&#8217;s the script. Just copy it into a .bat file put it into the P4ROOT folder. To run it, either do as a scheduled task or - as I do - just run it manually at whatever frequency you are happy with.</p>

<div class="wp_syntax"><div class="code"><pre class="dos">span style="color: #808080; font-style: italic;">
REM</span>  *** Backs up Perforce
p4 admin stop
p4d -jc -z
<span style="color: #b1b100; font-weight: bold;">copy</span> *.gz d:\Perforce\checkpoints
<span style="color: #b1b100; font-weight: bold;">copy</span> *.gz old_checkpoints
<span style="color: #b1b100; font-weight: bold;">del</span> /Q /F *.gz
<span style="color: #808080; font-style: italic;">rem</span> *** now backup depot files. See following text <span style="color: #00b100; font-weight: bold;">for</span> explanation 
robocopy depot d:\perforce\depotfiles\depot /S /E /MIR /R:<span style="color: #cc66cc;">1</span> /W:<span style="color: #cc66cc;">5</span> &gt;robolog-depot.txt
robocopy perforce d:\perforce\depotfiles\perforce /S /E /MIR /R:<span style="color: #cc66cc;">1</span> /W:<span style="color: #cc66cc;">5</span> &gt;&gt;robolog-p4.txt
robocopy work d:\perforce\depotfiles\work /S /E /MIR /R:<span style="color: #cc66cc;">1</span> /W:<span style="color: #cc66cc;">5</span> &gt;&gt;robolog-work.txt
<span style="color: #808080; font-style: italic;">rem</span> *** Restart server
net start Perforce</pre></div></div>

<p>The three robocopy lines reflect that I have three depots on my server - &#8216;depot&#8217;, &#8216;perforce&#8217;, and &#8216;work&#8217;. Change these to reflect your own depots.</p>
<p>Robocopy is a free utility that runs under Windows that provides extremely flexible folder copy functionality. See the <a href="http://en.wikipedia.org/wiki/Robocopy" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">Wikipedia entry</a> for more details. Just make sure it is either on your search path, or place the EXE in the P4ROOT folder.</p>
<p>The options given to Robocopy just tell it to only copy files that are different to those that already exist. In otherwords, it synchronises one folder structure to another. I pipe the output into a log file so I can see exactly what new files have been copied if I need to.</p>
<p>And that&#8217;s it. Dead simple - will take you two minutes to set up, but could save you hours of hassle should something go awry in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://familywhitfield.co.uk/wordpress/2007/07/07/a-simple-perforce-backup-script-for-the-home/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
