fixed some argument types in Image
Fixed internal storage for image size