Displaying 1 result from an estimated 1 matches for "toxyz".
2018 Sep 14
1
Possible bug with chromatic adaptation in grDevices::convertColor
...e.points[, to.ref.white])
+? from.ref.white.3 <- c2to3(white.points[, from.ref.white])
+? to.ref.white.3?? <- c2to3(white.points[, to.ref.white])
?
?? if (is.null(nrow(color)))
???? color <- matrix(color, nrow = 1L)
@@ -262,19 +262,19 @@
?????? rgb
?? }
?
-? xyz <- apply(color, 1L, from$toXYZ, from.ref.white)
+? xyz <- apply(color, 1L, from$toXYZ, from.ref.white.3)
?
?? if (is.null(nrow(xyz)))
???? xyz <- matrix(xyz, nrow = 1L)
?
-? if (!isTRUE(all.equal(from.ref.white, to.ref.white))) {
+? if (!isTRUE(all.equal(from.ref.white.3, to.ref.white.3))) {
?????? mc <- match.call()
??...