comparison OrthancServer/main.cpp @ 236:6d9be2b470b4

compression
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 30 Nov 2012 15:09:16 +0100
parents f2349bab5fe7
children e6a4c4329481
comparison
equal deleted inserted replaced
235:1e0595885a81 236:6d9be2b470b4
210 OrthancInitialize(); 210 OrthancInitialize();
211 } 211 }
212 212
213 boost::filesystem::path storageDirectory = GetGlobalStringParameter("StorageDirectory", "OrthancStorage"); 213 boost::filesystem::path storageDirectory = GetGlobalStringParameter("StorageDirectory", "OrthancStorage");
214 ServerContext context(storageDirectory); 214 ServerContext context(storageDirectory);
215 context.SetCompressionEnabled(GetGlobalBoolParameter("StorageCompression", false));
216
215 MyDicomStoreFactory storeScp(context); 217 MyDicomStoreFactory storeScp(context);
216 218
217 { 219 {
218 // DICOM server 220 // DICOM server
219 DicomServer dicomServer; 221 DicomServer dicomServer;