[Orxonox-commit 1667] r6385 - code/branches/presentation2/src/libraries/core
rgrieder at orxonox.net
rgrieder at orxonox.net
Mon Dec 21 12:49:53 CET 2009
Author: rgrieder
Date: 2009-12-21 12:49:53 +0100 (Mon, 21 Dec 2009)
New Revision: 6385
Modified:
code/branches/presentation2/src/libraries/core/GraphicsManager.cc
Log:
The free PNG format is probably more suitable for screen shots than TIFF.
About quality: I created a PNG and a TIFF image from the same frame and stored them as BMP with GIMP afterwards. Then I let diffutils compare it --> No difference at all.
Modified: code/branches/presentation2/src/libraries/core/GraphicsManager.cc
===================================================================
--- code/branches/presentation2/src/libraries/core/GraphicsManager.cc 2009-12-21 11:30:02 UTC (rev 6384)
+++ code/branches/presentation2/src/libraries/core/GraphicsManager.cc 2009-12-21 11:49:53 UTC (rev 6385)
@@ -440,6 +440,7 @@
{
assert(this->renderWindow_);
- this->renderWindow_->writeContentsToTimestampedFile(PathConfig::getLogPathString() + "screenShot_", ".tiff");
+ this->renderWindow_->writeContentsToTimestampedFile(PathConfig::getLogPathString() + "screenShot_", ".png");
+ this->renderWindow_->writeContentsToTimestampedFile(PathConfig::getLogPathString() + "screenShot_", ".tif");
}
}
More information about the Orxonox-commit
mailing list