added size method to Image