Added size saving method to image