capture() is deprecated, instead you should be using texture.update(window) and then texture.copyToImage().
As for your question, not that's not directly supported. You can do it by either rendering to a render texture only the part you want to save, or you could only save a section of the sf::Image (e.g. use image.copy() and then save the copied image).