ICCBasedColorSpace

ICCBasedColorSpace

Overview

ICCBasedColorSpace is a class in Aspose.PDF FOSS for Java. Inherits from: ColorSpaceBase.

ICCBased color space (ISO 32000-1:2008, §8.6.5.5).

This class provides 6 methods for working with ICCBasedColorSpace objects in Java programs. Available methods include: ICCBasedColorSpace, getAlternate, getName, getNumberOfComponents, resolve, toRGBInt. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: alternate, name, numberOfComponents.

Properties

NameTypeAccessDescription
nameStringReadGets the name.
numberOfComponentsintReadGets the number of components.
alternateColorSpaceBaseReadReturns the alternate (fallback) color space used for conversions.

Methods

SignatureDescription
ICCBasedColorSpace(iccStream: PdfStream, parser: PDFParser)Creates an ICCBasedColorSpace from a profile stream.
getName() → StringReturns the name.
getNumberOfComponents() → intReturns the number of components.
toRGBInt(comps: double[]) → intConverts via the embedded ICC profile (JDK CMM) when available,
otherwise via the /Alternate (or N-derived Device*) color space.
getAlternate() → ColorSpaceBaseReturns the alternate (fallback) color space used for conversions.
resolve(csObj: PdfBase, resources: Resources, parser: PDFParser) → ColorSpaceBase

See Also

 English