Author: tilman
Date: Wed Oct  7 18:06:15 2015
New Revision: 1707351

URL: http://svn.apache.org/viewvc?rev=1707351&view=rev
Log:
PDFBOX-3003: use both variants for colorspace of inline images

Modified:
    
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDInlineImage.java

Modified: 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDInlineImage.java
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDInlineImage.java?rev=1707351&r1=1707350&r2=1707351&view=diff
==============================================================================
--- 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDInlineImage.java
 (original)
+++ 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDInlineImage.java
 Wed Oct  7 18:06:15 2015
@@ -125,7 +125,7 @@ public final class PDInlineImage impleme
     @Override
     public PDColorSpace getColorSpace() throws IOException
     {
-        COSBase cs = parameters.getDictionaryObject(COSName.CS);
+        COSBase cs = parameters.getDictionaryObject(COSName.CS, 
COSName.COLORSPACE);
         if (cs == null)
         {
             cs = parameters.getDictionaryObject(COSName.COLORSPACE);


Reply via email to