]> Creatis software - gdcm.git/blobdiff - Example/WriteDicom.cxx
See 2004-09-24 entry.
[gdcm.git] / Example / WriteDicom.cxx
index a10d1f78efe333792090653fd97e1c08b1a07566..18d798fd10bc39011fce5a5ff053c8dfff9af4a0 100644 (file)
@@ -1,5 +1,4 @@
-#include "gdcmDocument.h"
-#include "gdcmFile.h"
+#include "gdcm.h"
 
 // Writting of a DICOM file based on a correct dicom header
 // and data pixel of another image
@@ -39,7 +38,7 @@ int main(int argc, char* argv[])
   //        and that does the job
 
   int dataSize    = f2->GetImageDataSize();
-  void *imageData = f2->GetImageData();
+  uint8_t* imageData = f2->GetImageData();
 
   std::cout << "dataSize :" << dataSize << std::endl;