Multidimensional array and image library