pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1810322 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
Date Mon, 02 Oct 2017 09:29:12 GMT
Author: tilman
Date: Mon Oct  2 09:29:12 2017
New Revision: 1810322

URL: http://svn.apache.org/viewvc?rev=1810322&view=rev
Log:
PDFBOX-3944: warn instead of error

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java?rev=1810322&r1=1810321&r2=1810322&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
Mon Oct  2 09:29:12 2017
@@ -168,7 +168,8 @@ public final class PDICCBased extends PD
                 {
                     isRGB = true;
                 }
-                LOG.error("Can't read embedded ICC profile (" + e.getLocalizedMessage() +
"), using alternate color space: " + alternateColorSpace.getName());
+                LOG.warn("Can't read embedded ICC profile (" + e.getLocalizedMessage() +

+                         "), using alternate color space: " + alternateColorSpace.getName());
                 initialColor = alternateColorSpace.getInitialColor();
             }
             else



Mime
View raw message