Change default file saving preferences (#10781)

* Change default compression level from 3 to 7
* increase default thumbnail size to 256
This commit is contained in:
dyylanhammond
2023-09-27 17:08:43 -04:00
committed by GitHub
parent a48490f518
commit 3b44bba8ac
3 changed files with 4 additions and 4 deletions

View File

@@ -1895,7 +1895,7 @@ bool Document::saveToFile(const char* filename) const
signalStartSave(*this, filename);
auto hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Document");
int compression = hGrp->GetInt("CompressionLevel",3);
int compression = hGrp->GetInt("CompressionLevel",7);
compression = Base::clamp<int>(compression, Z_NO_COMPRESSION, Z_BEST_COMPRESSION);
bool policy = App::GetApplication().GetParameterGroupByPath