ProtectedconstructorAttempts to saves the document to a file synchronously. Throws an error if the file extension is not supported or if the file could not be saved to disk for some reason.
Path to save the file to.
Saves the document to a file.
Path to save the file to.
Generic class for image extraction