add method into Image and update unit test and readme