add getWidth and getHeight into Image