Libraries for digital cameras