diff --git a/MMCore/MMCore.cpp b/MMCore/MMCore.cpp index 42b71d1da..7c0c5c3c5 100644 --- a/MMCore/MMCore.cpp +++ b/MMCore/MMCore.cpp @@ -7309,6 +7309,34 @@ void CMMCore::saveSystemConfiguration(const char* fileName) throw (CMMError) { os << MM::g_CFGCommand_Property << ',' << MM::g_Keyword_CoreDevice << ',' << MM::g_Keyword_CoreFocus << ',' << focus->GetLabel() << '\n'; } + + // save pixel size configurations + os << "# PixelSize settings" << endl; + + vector configs = getAvailablePixelSizeConfigs(); + // normal group records + for (size_t j=0; j affine = getPixelSizeAffineByID(configs[j].c_str()); + os << MM::g_CFGCommand_PixelSizeAffine << ',' << configs[j] << ','; + for (size_t i = 0; i < affine.size(); ++i) { + os << affine[i]; + if (i < affine.size() - 1) { + os << ','; + } + } + os << endl; + } } /**