Mercurial > hg > orthanc-wsi
changeset 106:18e9a5429cc4
clarification about --max-size option
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 19 Aug 2017 10:52:59 +0200 |
parents | 42dcf1438943 |
children | c0ac0d350193 |
files | Applications/ApplicationToolbox.cpp Applications/Dicomizer.cpp |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/ApplicationToolbox.cpp Wed Mar 22 15:53:48 2017 +0100 +++ b/Applications/ApplicationToolbox.cpp Sat Aug 19 10:52:59 2017 +0200 @@ -163,6 +163,11 @@ bool ok = false; boost::cmatch what; + // Set white as the default color to avoid compiler warnings + red = 255; + green = 255; + blue = 255; + try { if (regex_match(color.c_str(), what, pattern))
--- a/Applications/Dicomizer.cpp Wed Mar 22 15:53:48 2017 +0100 +++ b/Applications/Dicomizer.cpp Sat Aug 19 10:52:59 2017 +0200 @@ -505,7 +505,7 @@ ("compression", boost::program_options::value<std::string>(), "Compression of the target image (\"none\", \"jpeg\" or \"jpeg2000\")") ("jpeg-quality", boost::program_options::value<int>(), "Set quality level for JPEG (0..100)") - ("max-size", boost::program_options::value<int>()->default_value(10), "Maximum size per DICOM instance (in MB)") + ("max-size", boost::program_options::value<int>()->default_value(10), "Maximum size per DICOM instance (in MB), 0 means no limit on the file size") ("folder", boost::program_options::value<std::string>(), "Folder where to store the output DICOM instances") ("folder-pattern", boost::program_options::value<std::string>()->default_value("wsi-%06d.dcm"),