Saving histogram arrays in image tag directory.