Added ImageTools class