Library for accessing digital cameras