]> Creatis software - gdcm.git/blobdiff - src/gdcmJpegLS.cxx
- Add empty nutshell for JPEG-LS
[gdcm.git] / src / gdcmJpegLS.cxx
diff --git a/src/gdcmJpegLS.cxx b/src/gdcmJpegLS.cxx
new file mode 100644 (file)
index 0000000..e0094b2
--- /dev/null
@@ -0,0 +1,46 @@
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmJpegLS.cxx,v $
+  Language:  C++
+  Date:      $Date: 2005/01/24 16:03:58 $
+  Version:   $Revision: 1.1 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+//-----------------------------------------------------------------------------
+#include "gdcmFileHelper.h"
+
+#include <iostream>
+#include <fstream>
+
+namespace gdcm 
+{
+
+//-----------------------------------------------------------------------------
+ /**
+ * \brief   routine for JPEG decompression 
+ * @param fp pointer to an already open file descriptor 
+ *                      JPEG-LS encoded image
+ * @param image_buffer to receive uncompressed pixels
+ * @return 1 on success, 0 on error
+ * @warning : not yet made
+ */
+
+bool gdcm_read_JPEGLS_file (std::ifstream* fp,void* image_buffer) {
+   (void)fp;                  //FIXME
+   (void)image_buffer;        //FIXME
+   std::cout << "Sorry JPEG-LS File not yet taken into account" << std::endl;
+   return false;
+}
+} // end namespace gdcm
+
+//-----------------------------------------------------------------------------
+