@@ -303,22 +303,22 @@ function D65_to_D50(XYZ) {
303
303
// - scale components from one reference white to another
304
304
// - convert back to XYZ
305
305
// http://www.brucelindbloom.com/index.html?Eqn_ChromAdapt.html
306
- var M = [
307
- [ 1.0478112 , 0.0228866 , - 0.0501270 ] ,
308
- [ 0.0295424 , 0.9904844 , - 0.0170491 ] ,
309
- [ - 0.0092345 , 0.0150436 , 0.7521316 ]
310
- ] ;
306
+ var M = [
307
+ [ 1.0479298208405488 , 0.022946793341019088 , - 0.05019222954313557 ] ,
308
+ [ 0.029627815688159344 , 0.990434484573249 , - 0.01707382502938514 ] ,
309
+ [ - 0.009243058152591178 , 0.015055144896577895 , 0.7518742899580008 ]
310
+ ] ;
311
311
312
312
return multiplyMatrices ( M , XYZ ) ;
313
313
}
314
314
315
315
function D50_to_D65 ( XYZ ) {
316
316
// Bradford chromatic adaptation from D50 to D65
317
317
var M = [
318
- [ 0.9555766 , - 0.0230393 , 0.0631636 ] ,
319
- [ - 0.0282895 , 1.0099416 , 0.0210077 ] ,
320
- [ 0.0122982 , - 0.0204830 , 1.3299098 ]
321
- ] ;
318
+ [ 0.9554734527042182 , - 0.023098536874261423 , 0.0632593086610217 ] ,
319
+ [ - 0.028369706963208136 , 1.0099954580058226 , 0.021041398966943008 ] ,
320
+ [ 0.012314001688319899 , - 0.020507696433477912 , 1.3303659366080753 ]
321
+ ] ;
322
322
323
323
return multiplyMatrices ( M , XYZ ) ;
324
324
}
0 commit comments