mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-02 11:05:29 -04:00
Implemented to/from CIEXYZ (via sRGB conversio) for completeness.
This commit is contained in:
parent
ef09b599f6
commit
261c6f8038
@ -103,10 +103,10 @@ Easier to calculate if K' is calculated first, because K' = min(C,M,Y):
|
||||
}
|
||||
|
||||
public float[] toCIEXYZ(float[] colorvalue) {
|
||||
throw new UnsupportedOperationException("Method toCIEXYZ not implemented"); // TODO: Implement
|
||||
return sRGB.toCIEXYZ(toRGB(colorvalue));
|
||||
}
|
||||
|
||||
public float[] fromCIEXYZ(float[] colorvalue) {
|
||||
throw new UnsupportedOperationException("Method fromCIEXYZ not implemented"); // TODO: Implement
|
||||
return sRGB.fromCIEXYZ(fromRGB(colorvalue));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user