RGB and LAB color spaces: Conversion and interpolation
james.graham at oracle.com
Fri Sep 25 19:33:24 UTC 2015
JavaFX has no color conversion libraries. The classes in java.awt.color
are the only alternative that ships standard with the JDK...
On 9/25/15 7:42 AM, Benjamin Gudehus wrote:
> I want to convert colors between different color spaces and interpolate
> them within the specific color space (sRGB and its cylindrical
> transformations HSL/HLS, HSV/HSB, and HSI. LAB and its cylindrical
> transformations LCH, and HCL).
> javafx.scene.paint.Color only accepts (s)RGB and HSB and seems to support
> interpolate() within RGB only. Should I use java.awt.color.ICC_ColorSpace
> (which lacks support for HSI, LCH and HCL) or is there a more complete
> library for Java or JavaFX?
More information about the openjfx-dev