Update image resolution.