I hope that this helps:
http://www.dmin-dmax.fr/photoe2b.htm