pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1685670 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/colorpane/CSDeviceN.java
Date Mon, 15 Jun 2015 21:13:22 GMT
Author: tilman
Date: Mon Jun 15 21:13:22 2015
New Revision: 1685670

URL: http://svn.apache.org/r1685670
Log:
PDFBOX-2530: only one colorant at maximum

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/colorpane/CSDeviceN.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/colorpane/CSDeviceN.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/colorpane/CSDeviceN.java?rev=1685670&r1=1685669&r2=1685670&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/colorpane/CSDeviceN.java
(original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/pdfdebugger/colorpane/CSDeviceN.java
Mon Jun 15 21:13:22 2015
@@ -81,7 +81,7 @@ public class CSDeviceN
             float[] maximum = new float[componentCount];
             Arrays.fill(maximum, 0);
             float[] minimum = new float[componentCount];
-            Arrays.fill(minimum, 1);
+            Arrays.fill(minimum, 0);
             maximum[i] = 1;
             minimum[i] = 0;
             colorant.setMaximum(getColorObj(deviceN.toRGB(maximum)));



Mime
View raw message