#4852 Command Line : Add snapshotsize

This commit is contained in:
Magne Sjaastad
2019-10-11 10:57:20 +02:00
parent 4bfcf86962
commit 225893dcda
2 changed files with 18 additions and 6 deletions

View File

@@ -100,6 +100,10 @@ bool RiaArgumentParser::parseArguments( cvf::ProgramOptions* progOpt )
"'commandFileReplaceCases'.\n",
cvf::ProgramOptions::SINGLE_VALUE );
progOpt->registerOption( "snapshotsize",
"<width> <height>",
"Set size of exported snapshot images.",
cvf::ProgramOptions::MULTI_VALUE );
progOpt->registerOption( "savesnapshots",
"all|views|plots",
"Save snapshot of all views or plots to project file location sub folder 'snapshots'. "