Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/main.cpp Fri Nov 30 14:37:48 2012 +0100 +++ b/OrthancServer/main.cpp Fri Nov 30 15:09:16 2012 +0100 @@ -212,6 +212,8 @@ boost::filesystem::path storageDirectory = GetGlobalStringParameter("StorageDirectory", "OrthancStorage"); ServerContext context(storageDirectory); + context.SetCompressionEnabled(GetGlobalBoolParameter("StorageCompression", false)); + MyDicomStoreFactory storeScp(context); {