You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2020/08/23 07:33:59 UTC
svn commit: r1881092 -
/pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
Author: tilman
Date: Sun Aug 23 07:33:59 2020
New Revision: 1881092
URL: http://svn.apache.org/viewvc?rev=1881092&view=rev
Log:
PDFBOX-4847: add getter for sRGB
Modified:
pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
Modified: pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java?rev=1881092&r1=1881091&r2=1881092&view=diff
==============================================================================
--- pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java (original)
+++ pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDICCBased.java Sun Aug 23 07:33:59 2020
@@ -183,6 +183,16 @@ public final class PDICCBased extends PD
}
/**
+ * Tell whether this is an sRGB colorspace
+ *
+ * @return
+ */
+ public boolean issRGB()
+ {
+ return isRGB;
+ }
+
+ /**
* Get the underlying ICC profile stream.
* @return the underlying ICC profile stream
*/