Monthly Archives: April 2009

Rotate JPEG images using jpegtran

A quick note on how to rotate jpeg images, not because it’s earth-shatteringly smart but so I don’t keep having to think every time I want to do it:

  • sudo aptitude install libjpeg-progs (contains jpegran on Ubuntu)
  • for i in *jpg; do jpegtran -rotate 180 $i > rotated/$i ; done

This can probably be done with other tools (eg imagemagick), but jpegtran has a small manpage :-)

Ditch the Hummer, here comes the PUMA

An article in today’s SMH – Ditch the Hummer, here comes the PUMA – along with a jaunty photo of metrosexual darting through traffic. Looks like it combines the disadvantages of a car (cost, need to fuel, too heavy to put on your shoulder) with the disadvantages of a bicycle (cold/hot, wet, you actually work up a sweat) without the fun of a motorcycle (speed – yeh baby!).

Yawn. I’ll stick to my bicycle/car/dreams of hopping back on a motorbike. And keep using public transport whenever I can.