LabColorSpace

LabColorSpace

Overview

LabColorSpace is a class in Aspose.Pdf FOSS for Java. Inherits from: ColorSpaceBase.

Lab color space (ISO 32000-1:2008, §8.6.5.4).

Properties

NameTypeAccessDescription
nameStringRead
numberOfComponentsintRead
rangedouble[]ReadReturns the ab range [amin, amax, bmin, bmax].

Methods

SignatureDescription
LabColorSpace(params: COSDictionary)Creates a Lab color space from its parameter dictionary.
toRGB(lStar: double, aStar: double, bStar: double)double[]Converts Lab values to sRGB components.
getName()String
getNumberOfComponents()int
getRange()double[]Returns the ab range [amin, amax, bmin, bmax].
resolve(csObj: COSBase, resources: Resources, parser: PDFParser)ColorSpaceBaseResolves a color space from a PDF object.

See Also