10.05.2016 Views

AmateurPhotographer

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Technical Support<br />

Professor Newman on…<br />

Attack of<br />

the hacks<br />

The manufacturers may not like them, but a wellchosen<br />

hack can add functionality to your camera<br />

The latest<br />

photography kit<br />

and technique at<br />

your fingertips<br />

One of the interesting<br />

things to have<br />

emerged in recent<br />

years is the<br />

phenomenon of the camera ‘hack’.<br />

First, it is important to determine its<br />

meaning. From the 1960s, hacking<br />

was the term used to describe<br />

what talented computer<br />

programmers could do – they<br />

could hack out code. Nowadays,<br />

it has gone on to mean any illicit<br />

programming activity, no matter<br />

how small, from compromising<br />

security on computers to making<br />

devices do things that the<br />

manufacturer did not intend. It is<br />

this latter use of the term that is<br />

relevant in this week’s column.<br />

The fi rst widespread camera<br />

hack was the ‘Canon Hack<br />

Development Kit’ (CHDK, visit<br />

http://chdk.wikia.com/wiki/CHDK),<br />

which started back in 2009. This<br />

exploited the mechanism that<br />

Canon provided for users to load<br />

new fi rmware onto their cameras.<br />

By examining the data in the<br />

fi rmware download, hackers could<br />

discover the type of computer<br />

chips that the cameras were<br />

based on, and from the data<br />

sheets for the computers they<br />

could identify much of the way in<br />

which the camera worked. Then<br />

they started writing their own<br />

software for the camera, adding<br />

new functions that they wanted in<br />

their cameras. They gave raw fi le<br />

and video capability to cameras<br />

that didn’t have it, remote-control<br />

facilities and the ability to control<br />

the camera via scripts (small<br />

pieces of high-level software).<br />

From CHDK came ‘Magic<br />

Lantern’ (www.magiclantern.fm).<br />

This was directed specifi cally<br />

at motion picture usage<br />

(I differentiate from ‘video’<br />

intentionally), adding to Canon<br />

camera facilities that would be<br />

useful to fi lmmakers, moving<br />

them closer to professional<br />

cinema cameras.<br />

Video has been a potent driver<br />

for camera hacking. A well-known<br />

‘Nowadays, hacking means any illicit<br />

programming activity, however small’<br />

All these cameras can be<br />

significantly enhanced<br />

with camera firmware<br />

hacks Ð but it voids<br />

the guarantee<br />

camera hack is Vitaliy Kiselev’s<br />

‘Ptool’ (www.personal-view.com/<br />

faqs/ptool/ptool-faq). Ptool is<br />

a piece of software that can<br />

modify Panasonic fi rmware<br />

images, allowing new facilities to<br />

be added to the fi rmware. Rather<br />

than a complete package of<br />

enhancements, such as those<br />

found with CHDK or Magic<br />

Lantern, Ptool is used to add<br />

selected functions to the fi rmware,<br />

and there are a number of specifi c<br />

packages available with it. One of<br />

its most popular applications has<br />

been to increase the video data<br />

rate with the GH-series cameras,<br />

providing better video quality than<br />

that which Panasonic originally<br />

provided. Initially, Panasonic tried<br />

to stop the use of Ptool, until it<br />

became clear that its use was<br />

increasing the fi rm’s sales.<br />

Vitaliy Kiselev was also<br />

behind the Nikon Hack (https://<br />

nikonhacker.com) – unsurprisingly<br />

structured in a similar manner<br />

to Ptool and called ‘Nikon Patch’.<br />

The Nikon Hack was very much<br />

video-based, trying to relieve<br />

some of the specifi cation<br />

weaknesses that Nikon cameras<br />

had with respect to video.<br />

There’s one thing worth noting<br />

about all the various hacks<br />

mentioned here: they will void<br />

your camera’s guarantee, so, if<br />

they fail, you are on your own.<br />

Manufacturers do not generally<br />

approve of them, and recently<br />

Canon has taken measures to<br />

prevent Magic Lantern from<br />

functioning on some of its<br />

cameras. To me, this seems<br />

strange, because the new<br />

capability enhances sales. I would<br />

think that a more measured<br />

approach would be to open up the<br />

camera’s application programming<br />

interface and enable a market in<br />

certifi ed and quality-controlled<br />

camera apps, similar to that with<br />

mobile phones.<br />

More great<br />

pictures<br />

More technique<br />

More opinion<br />

More inspiration<br />

● Download online,<br />

enjoy offline<br />

● Buy from the comfort<br />

of your own home<br />

● Available the day<br />

the magazine goes<br />

on sale<br />

● Missed an issue?<br />

Simply download<br />

a back copy<br />

Try it today<br />

www.amateurphotographer.<br />

co.uk/digital-edition<br />

Bob Newman is currently Professor of Computer Science at the University of Wolverhampton. He has been working with the design and development of<br />

high-technology equipment for 35 years and two of his products have won innovation awards. Bob is also a camera nut and a keen amateur photographer<br />

subscribe 0330 333 1113 I www.amateurphotographer.co.uk I 14 May 2016 59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!