Serialze read of tiff files, Issue 2722

This commit is contained in:
Ingo
2015-03-28 13:12:42 +01:00
parent 38355b3ef1
commit 3e4b8152c3
6 changed files with 28 additions and 5 deletions

View File

@@ -373,6 +373,7 @@ void Options::setDefaults () {
#endif
filledProfile = false;
maxInspectorBuffers = 2; // a rather conservative value for low specced systems...
serializeTiffRead = true;
showProfileSelector = true;
FileBrowserToolbarSingleRow = false;
@@ -779,6 +780,7 @@ if (keyFile.has_group ("Performance")) {
if (keyFile.has_key ("Performance", "MaxInspectorBuffers")) maxInspectorBuffers = keyFile.get_integer ("Performance", "MaxInspectorBuffers");
if (keyFile.has_key ("Performance", "PreviewDemosaicFromSidecar")) prevdemo = (prevdemo_t)keyFile.get_integer ("Performance", "PreviewDemosaicFromSidecar");
if (keyFile.has_key ("Performance", "Daubechies")) rtSettings.daubech = keyFile.get_boolean ("Performance", "Daubechies");
if (keyFile.has_key ("Performance", "SerializeTiffRead")) serializeTiffRead = keyFile.get_boolean ("Performance", "SerializeTiffRead");
}
if (keyFile.has_group ("GUI")) {
@@ -1067,6 +1069,7 @@ int Options::saveToFile (Glib::ustring fname) {
keyFile.set_integer ("Performance", "MaxInspectorBuffers", maxInspectorBuffers);
keyFile.set_integer ("Performance", "PreviewDemosaicFromSidecar", prevdemo);
keyFile.set_boolean ("Performance", "Daubechies", rtSettings.daubech);
keyFile.set_boolean ("Performance", "SerializeTiffRead", serializeTiffRead);
keyFile.set_string ("Output", "Format", saveFormat.format);
keyFile.set_integer ("Output", "JpegQuality", saveFormat.jpegQuality);