Class PDOutputIntent
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.color.PDOutputIntent
- All Implemented Interfaces:
COSObjectable
An Output Intent describes the colour reproduction characteristics of a possible output
device or production condition.
Output intents provide a means for matching the colour characteristics of a PDF document with
those of a target output device or production environment in which the document will be printed.
- Author:
- Guillaume Bailleul
-
Constructor Summary
ConstructorsConstructorDescriptionPDOutputIntent(COSDictionary dictionary) PDOutputIntent(PDDocument doc, InputStream colorProfile) Create an output intent of GTS_PDFA1 subtype. -
Method Summary
Modifier and TypeMethodDescriptionConvert this standard java object to a COS object.getInfo()voidvoidsetOutputCondition(String value) voidvoidsetRegistryName(String value)
-
Constructor Details
-
PDOutputIntent
Create an output intent of GTS_PDFA1 subtype.- Parameters:
doc- The document.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.IllegalArgumentException- If the stream does not contain valid ICC Profile data.
-
PDOutputIntent
-
-
Method Details
-
getCOSObject
Description copied from interface:COSObjectableConvert this standard java object to a COS object.- Specified by:
getCOSObjectin interfaceCOSObjectable- Returns:
- The cos object that matches this Java object.
-
getDestOutputIntent
-
getInfo
-
setInfo
-
getOutputCondition
-
setOutputCondition
-
getOutputConditionIdentifier
-
setOutputConditionIdentifier
-
getRegistryName
-
setRegistryName
-