Category Archives: Images

Still pictures, in whatever medium

Where did I take that photo?

I couldn’t find anyone extracting out the geolocation geotagging EXIF data from their photographs so they could pull it up on something like Google Maps.  There are stand-alone programs with embedded maps, but the bits and bobs lying around on the average system ought to be enough to just generate a URL to a mapping website.  The following bash script echoes the  URL that geolocates your JPEG.  Because my camera doesn’t emit it, I couldn’t be bothered dealing with the seconds part of a location, but I did detect that you don’t have a camera the same as mine.  Drop a line if you’ve used this and fixed it.

#!/bin/bash
# emit a hyperlink to google maps for the location of a photograph
declare Seconds=""
Seconds=`exif -m --ifd=GPS --tag=0x02 $1 | grep -oP "[\d|\d\.]+$"`
if (( $Seconds=='0' ))
then
  Seconds=`exif -m --ifd=GPS --tag=0x04 $1 | grep -oP "[\d|\d\.]+$"`
fi
if (( $Seconds!='0' ))
then
  echo
  echo "Script does not support seconds being specified"
  exit
fi
echo -n "https://maps.google.com.au/?q="
declare NorthSouth=`exif -m --ifd=GPS --tag=0x01 $1`
if [ "$NorthSouth" == "S" ] 
then
  echo -n "-"
fi
echo -n `exif -m --ifd=GPS --tag=0x02 $1 | grep -oP "^[\d|\d\.]+"`
echo -n "%20"
echo -n `exif -m --ifd=GPS --tag=0x02 $1 | grep -oP "(?<= )[\d|\d\.]+,"`
declare EastWest=`exif -m --ifd=GPS --tag=0x03 $1`
if [ "$EastWest" == "W" ]
then
  echo -n "-"
fi
echo -n `exif -m --ifd=GPS --tag=0x04 $1 | grep -oP "^[\d|\d\.]+"`
echo -n "%20"
echo -n `exif -m --ifd=GPS --tag=0x04 $1 | grep -oP "(?<= )[\d|\d\.]+(?=,)"`
echo

Please allow approximately 10 working days…

For school work young Owen needed a photo of his family celebrating something, so a suitable photo from a recent birthday party was selected.

I figured I’d upload the photo to BigW photos the night before, to give them a chance to print them out before I arrived the next day.  I noticed the disclaimer “Delivery Times: Please allow approximately 10 working days for your order to arrive in the mail or to be ready to be picked up in store” but figured this was just legalese arse-covering, applicable to weird things like coffee mugs etc.

I fully expected to get an email five minutes after submission.

I wondered to myself how it is that they can make any money from a single 10c photo, paid for via PayPal.  I figure my order must be costing a buck or two in direct and indirect costs; the PayPal fees alone would be the entirety of the payment.

I didn’t get an email.  It’s been four days now, and the order is still “In production” leading me to believe that the order is going to be printed somewhere that isn’t my local BigW, and is then being shipped there.  Needless to say, I shan’t be collecting it; the day after the photo upload I went to Bunnings for a hinge and some storage boxes, and popped into Officeworks beforehand anticipating some delay in printing – alas, there was a sixty second delay, so that prudence wasn’t required.  Of course, I could have gone to Harvey Norman for the photos but it was an extra 100m walk and another 5c, even if their printing seems to be of a higher quality, a classroom of Prep students isn’t going to appreciate the difference.

Riddle me this: if my photos aren’t printed out at my local BigW, why would I upload them to BigW photos when I could drag myself there in person and collect them within the hour?

Read/write Photoshop PSD files in Paint.Net

Pondering switching from expen$ive Photoshop to free Paint.Net, but want to be able to read all your Photoshop files?

Just download this plugin, unzip and copy the DLL into the Paint.Net Filetypes folder. Easy.

Caveat: it doesn’t support absolutely everything in PSD files flawlessly. Discussion here. But the files I’ve been dabbling with (actually converted from CPT to PSD using an ancient copy of Corel Photopaint) work fine.

OpenID – the next big thing?

Over the years, as new web services have come into prominence, there’s been a rush to get hold of the best IDs. Most people would chase something resembling their name, with those with popular names too late to the game being left with the lame IDs: nicknames, real name + licence plate number, or hackerz sp34k versions.

Some of the defunct web sites I got good IDs for include Excite and mail.com. Some I still use include Gmail (and all the other Google properties), Hotmail and Yahoo.

With the news that Microsoft will be supporting OpenId, I reckon the next big rush could be for this, particularly if Google and Yahoo are sensible and decide to jump on the bandwagon.

OpenID identifies you by a URL/URI, so it’s marginally less user-friendly than a conventional logon, but if it takes off (*if*) and gets widespread use around the web, from a user point of view, it could go a long way towards cutting down on the zillions of passwords people currently have to remember… and thus have to write them all down.

So I’ve got my OpenID already. Have you? Now, since Flickr are pissing everybody off with new limitations, maybe I’ll go over to Zooomr and take a look around there.

DIY Digital Picture Frame

Full, step-by-step instructions (with pcitures) on building your own cheap and easy Digital Picture Frame. Answering an unasked question on the selection of componentry, the author says:

Why a toggle switch? Because toggle switches rule, that’s why. We don’t want no puny sliding power switches. Oh no, this power switch is 25 percent functional, 75 percent hardcore awesome.

But why do this? You can buy one for a few hundred bucks. I guess it’s just the whole DIY thing, isn’t it? I guess you’re also recycling unloved tech into totally hardcore awesome tech.