A generic image library