Updated Image::rotate