@flighthq/adjustments 0.2.1-next.410.a23f189 → 0.2.1-next.444.a313478
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -140,7 +140,7 @@ export declare function createVintageColorMatrix(): number[];
|
|
|
140
140
|
*
|
|
141
141
|
* Temperature shifts are modelled as complementary R/B channel gains (warm = more R, less B).
|
|
142
142
|
* Tint shifts are modelled as G channel gain (more G = green, less G = magenta). This matches the
|
|
143
|
-
* Lightroom/
|
|
143
|
+
* Lightroom/Camera3D Raw slider convention.
|
|
144
144
|
*/
|
|
145
145
|
export declare function createWhiteBalanceColorMatrix(temperature: number, tint: number): number[];
|
|
146
146
|
/**
|
package/dist/colorMatrixMath.js
CHANGED
|
@@ -317,7 +317,7 @@ export function createVintageColorMatrix() {
|
|
|
317
317
|
*
|
|
318
318
|
* Temperature shifts are modelled as complementary R/B channel gains (warm = more R, less B).
|
|
319
319
|
* Tint shifts are modelled as G channel gain (more G = green, less G = magenta). This matches the
|
|
320
|
-
* Lightroom/
|
|
320
|
+
* Lightroom/Camera3D Raw slider convention.
|
|
321
321
|
*/
|
|
322
322
|
export function createWhiteBalanceColorMatrix(temperature, tint) {
|
|
323
323
|
// Map [-100, 100] to multiplicative gain adjustments centred at 1.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flighthq/adjustments",
|
|
3
|
-
"version": "0.2.1-next.
|
|
3
|
+
"version": "0.2.1-next.444.a313478",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/flighthq/flight.git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@flighthq/types": "0.2.1-next.
|
|
35
|
+
"@flighthq/types": "0.2.1-next.444.a313478"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "^5.3.0"
|