@@ -303,22 +303,22 @@ function D65_to_D50(XYZ) {
303303 // - scale components from one reference white to another
304304 // - convert back to XYZ
305305 // 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+ ] ;
311311
312312 return multiplyMatrices ( M , XYZ ) ;
313313}
314314
315315function D50_to_D65 ( XYZ ) {
316316 // Bradford chromatic adaptation from D50 to D65
317317 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+ ] ;
322322
323323 return multiplyMatrices ( M , XYZ ) ;
324324}
0 commit comments