Added String parameter version for invertExtent