\name{ImageFileWriter}
\alias{ImageFileWriter}
\title{ImageFileWriter}
\Rdversion{1.1}
\docType{class}
\description{
Write out a SimpleITK image to the specified file location.
ImageFileWriter}
\details{
This writer tries to write the image out using the image's type to the
location specified in FileName. If writing fails, an ITK exception is
thrown.
See:
WriteImage for the procedural interface
ImageFileWriter}
%C++ includes: sitkImageFileWriter.h
\section{Methods}{
\describe{
\item{Self Execute(const Image &):}{}
\item{Self Execute(const Image &, const std::string &inFileName, bool useCompression, int compressionLevel):}{}
\item{std::string GetFileName() const:}{}
\item{std::string GetName() const override:}{
return user readable name of the filter
}
\item{std::vector< std::string > GetRegisteredImageIOs() const:}{
Get a vector of the names of registered itk ImageIOs.
}
\item{ ImageFileWriter():}{}
\item{Self SetFileName(const std::string &fileName):}{}
\item{std::string ToString() const override:}{
Print ourselves to string
}
\item{ ~ImageFileWriter() override:}{}
}
}
