Mmmm.. I wonder how easy it might be to cobble up a script that gets the average light level from an image, and then adjusts the exposure accordingly?

That's what you're asking of the in-camera microcontroller, so a PC ought to be able to manage it too. There must be something in netpbm that does this already ?

Cheers