|
THotPDF.RegisterLabColorSpace
|
Top |
|
Registers a PDF 1.3 CIELab color space (ISO 32000-1 8.6.5.3) under an auto-generated resource name (
Delphi syntax: function RegisterLabColorSpace(WhitePointX, WhitePointY, WhitePointZ: Single; RangeAMin, RangeAMax, RangeBMin, RangeBMax: Single): AnsiString;
C++ syntax: AnsiString RegisterLabColorSpace(float WhitePointX, float WhitePointY, float WhitePointZ, float RangeAMin, float RangeAMax, float RangeBMin, float RangeBMax);
Description The CIELab color space describes colors independently of any display or printing device: L* expresses lightness in [0..100], a* the green/red axis, b* the blue/yellow axis (typically [-128..127]). Conforming PDF viewers convert L*a*b* to device color using the configured
D50 - ICC print standard. WhitePoint = [0.9505, 1.0, 1.089]. D65 - sRGB / display standard. WhitePoint = [0.95047, 1.0, 1.08883].
WhitePoint Y must equal 1.0 per spec table 64; X and Z must be positive. Passing all four Range parameters as zero falls back to the spec's implicit default
Return value: an auto-generated resource name (
Code Example
See Also Version, Compression, PDF Filter Support
|