chromaticity-color-utilities
Advanced tools
Comparing version 0.1.8-alpha to 0.1.9-alpha
@@ -180,4 +180,2 @@ import * as Colors from './Colors'; | ||
* X, Y, and Z will be between 0 and the white point reference XYZ values | ||
* Formulae and matrices originally from: | ||
* http://www.brucelindbloom.com | ||
* | ||
@@ -184,0 +182,0 @@ * @param {Colors.rgb} rgb |
@@ -842,4 +842,2 @@ "use strict"; | ||
* X, Y, and Z will be between 0 and the white point reference XYZ values | ||
* Formulae and matrices originally from: | ||
* http://www.brucelindbloom.com | ||
* | ||
@@ -846,0 +844,0 @@ * @param {Colors.rgb} rgb |
/** | ||
* CIE Constants of L* Function | ||
* [Supplement No. 2 to CIE Publication No. 15 (E-1.3.1) 1971 / (TC-1.3) 1978] | ||
* ϵ = cieE | ||
@@ -18,4 +17,4 @@ * κ = cieK | ||
*/ | ||
export declare const cieE = 0.008856; | ||
export declare const cieK = 903.3; | ||
export declare const cieE: number; | ||
export declare const cieK: number; | ||
export declare const stdIlluminants: { | ||
@@ -22,0 +21,0 @@ a: { |
@@ -21,3 +21,2 @@ "use strict"; | ||
* CIE Constants of L* Function | ||
* [Supplement No. 2 to CIE Publication No. 15 (E-1.3.1) 1971 / (TC-1.3) 1978] | ||
* ϵ = cieE | ||
@@ -37,8 +36,8 @@ * κ = cieK | ||
*/ | ||
// 0.008856 Actual CIE standard (used) | ||
// 216/24389 Intent of CIE standard | ||
exports.cieE = 0.008856; | ||
// 903.3 Actual CIE standard (used) | ||
// 24389/27 Intent of CIE standard | ||
exports.cieK = 903.3; | ||
// 0.008856 Initial CIE standard | ||
// 216/24389 Intent of CIE standard, updated to standard in 2004 | ||
exports.cieE = 216 / 24389; | ||
// 903.3 Initial CIE standard | ||
// 24389/27 Intent of CIE standard, updated to standard in 2004 | ||
exports.cieK = 24389 / 27; | ||
// Standard Illuminant White Points, including: | ||
@@ -45,0 +44,0 @@ // Reference Hue and RGB values |
{ | ||
"name": "chromaticity-color-utilities", | ||
"version": "0.1.8-alpha", | ||
"version": "0.1.9-alpha", | ||
"description": "Color utilities for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
@@ -78,2 +78,3 @@ # chromaticity-color-utilities | ||
* [To Do List](#to-do-list) | ||
* [References](#references) | ||
@@ -1618,2 +1619,5 @@ ## Install | ||
**Recommendation ITU-R BT.2020-2**, *Parameter values for ultra-high definition television systems for productionand international programme exchange*, | ||
https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2020-2-201510-I!!PDF-E.pdf | ||
**Recommendation ITU-R BT.709-6**, *Parameter values for the HDTV standards for production and international programme exchange*, | ||
@@ -1625,2 +1629,5 @@ https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.709-6-201506-I!!PDF-E.pdf | ||
*CIE 15: Technical Report: Colorimetry, 3rd edition*, | ||
https://archive.org/details/gov.law.cie.15.2004 | ||
*Computing RGB-to-XYZ and XYZ-to-RGB matrices*, | ||
@@ -1633,2 +1640,5 @@ http://www.brucelindbloom.com | ||
*Converting temperature (Kelvin) to RGB*, | ||
https://tannerhelland.com/2012/09/18/convert-temperature-rgb-algorithm-code.html | ||
https://tannerhelland.com/2012/09/18/convert-temperature-rgb-algorithm-code.html | ||
*HSP Color Model — Alternative to HSV (HSB) and HSL*, | ||
https://alienryderflex.com/hsp.html |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
278558
1640
5465