add image library dependency