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 2025/10/27 13:23:41 UTC
svn commit: r1929375 - pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color
Author: tilman
Date: Mon Oct 27 13:23:40 2025
New Revision: 1929375
Log:
PDFBOX-5660: improve javadoc
Modified:
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDOutputIntent.java
Modified: pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDOutputIntent.java
==============================================================================
--- pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDOutputIntent.java Mon Oct 27 13:23:36 2025 (r1929374)
+++ pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDOutputIntent.java Mon Oct 27 13:23:40 2025 (r1929375)
@@ -40,6 +40,14 @@ public final class PDOutputIntent implem
{
private final COSDictionary dictionary;
+ /**
+ * Create an output intent of GTS_PDFA1 subtype.
+ *
+ * @param doc The document.
+ * @param colorProfile the ICC color profile input stream. You can close it after construction.
+ * @throws IOException If an I/O error occurs while reading the stream.
+ * @throws IllegalArgumentException If the stream does not contain valid ICC Profile data.
+ */
public PDOutputIntent(PDDocument doc, InputStream colorProfile) throws IOException
{
dictionary = new COSDictionary();