From 19d829c451375b5dbcbcc80bcc1ad773e2dab873 Mon Sep 17 00:00:00 2001
From: anttil <anttil>
Date: Thu, 14 Mar 2013 10:32:34 +0000
Subject: [PATCH] Change default optimal image rescaling factor from 0.1% to 1%

SVN: 28611
---
 .../cisd/openbis/dss/generic/shared/utils/ImageUtil.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/utils/ImageUtil.java b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/utils/ImageUtil.java
index bde0e4351ef..e13c2039879 100644
--- a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/utils/ImageUtil.java
+++ b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/utils/ImageUtil.java
@@ -78,7 +78,7 @@ public class ImageUtil
      * When a grayscale image with color depth > 8 bits has to be displayed and user has not decided
      * how it should be converted, then this threshold will be used.
      */
-    public static final float DEFAULT_IMAGE_OPTIMAL_RESCALING_FACTOR = 0.001f;
+    public static final float DEFAULT_IMAGE_OPTIMAL_RESCALING_FACTOR = 0.01f;
 
     final static Logger operationLog = LogFactory.getLogger(LogCategory.OPERATION, ImageUtil.class);
 
-- 
GitLab