changeset 1068:c1df386f2464

JDK 1.6 on OSX 10.5 needs rescaleRgba too.
author robcast
date Fri, 13 Apr 2012 18:16:59 +0200
parents a45894a81e40
children 788c757d7f70
files common/src/main/java/digilib/image/ImageLoaderDocuImage.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/common/src/main/java/digilib/image/ImageLoaderDocuImage.java	Wed Apr 04 01:59:13 2012 +0200
+++ b/common/src/main/java/digilib/image/ImageLoaderDocuImage.java	Fri Apr 13 18:16:59 2012 +0200
@@ -65,7 +65,7 @@
 public class ImageLoaderDocuImage extends ImageInfoDocuImage {
 
     /** DocuImage version */
-    public static final String version = "ImageLoaderDocuImage 2.1.4b";
+    public static final String version = "ImageLoaderDocuImage 2.1.5";
 
     /** image object */
     protected BufferedImage img;
@@ -145,7 +145,7 @@
             invertRgbaByteTable = new ByteLookupTable(0, new byte[][] { invertByte, invertByte, orderedByte, invertByte });
             needsRescaleRgba = true;
             needsMapBgr = true;
-        } else if ((os.startsWith("Mac OS X") && osver.startsWith("10.6")) 
+        } else if ((os.startsWith("Mac OS X") && (osver.startsWith("10.5") || osver.startsWith("10.6"))) 
             || (os.startsWith("Windows"))) {
             needsRescaleRgba = true;
         }