Author: Diego Barrios Romero <[email protected]>
Date: Tue Mar 13 00:20:54 2012 +0100
Quality option
---
synfig-core/src/tool/main.cpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/synfig-core/src/tool/main.cpp b/synfig-core/src/tool/main.cpp
index 4938606..74a7628 100644
--- a/synfig-core/src/tool/main.cpp
+++ b/synfig-core/src/tool/main.cpp
@@ -555,6 +555,14 @@ int main(int ac, char* av[])
job_list.front().outfilename =
vm["output-file"].as<string>();
}
+ if (vm.count("quality"))
+ job_list.front().quality = vm["quality"].as<int>();
+ else
+ job_list.front().quality = DEFAULT_QUALITY;
+
+ VERBOSE_OUT(1) << _("Quality set to ") <<
job_list.front().quality
+ << endl;
+
if (vm.count("threads"))
threads = vm["threads"].as<int>();
else
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl