]> Creatis software - clitk.git/blobdiff - common/clitkImageCommon.h
QVTKOpenGLNativeWidget is available from VTK8.2
[clitk.git] / common / clitkImageCommon.h
index fbddb20d3ddabaaba554b0a662c36beba77b0364..32bba4916c1ec25244a09655bd1a3dcdf6cd54d2 100644 (file)
@@ -58,11 +58,11 @@ typename ImageType::Pointer readImage(const std::string & filename, const bool v
 template<typename ImageType>
 typename ImageType::Pointer readImage(const std::vector<std::string> & filenames, const bool verbose=false);
 template<class ImageType>
-void writeImage(const typename ImageType::Pointer image, const std::string & filename, const bool verbose=false);
+void writeImage(const typename ImageType::Pointer image, const std::string & filename, const bool verbose=false, const bool compression=false);
 //   template<class ImageType>
 //   void writeConstImage(const typename ImageType::ConstPointer image, const std::string & filename, const bool verbose=false);
 template<class ImageType>
-void writeImage(const ImageType* image, const std::string & filename, const bool verbose=false);
+void writeImage(const ImageType* image, const std::string & filename, const bool verbose=false, const bool compression=false);
 
 //--------------------------------------------------------------------
 // Read/print image header