Package-level declarations

Types

Link copied to clipboard
class RGBHistogram(val freqs: Array<Array<DoubleArray>>, val binCount: Int)

Functions

Link copied to clipboard
fun calculateHistogramRGB(buffer: ColorBuffer, binCount: Int = 16, weighting: ColorRGBa.() -> Double = { 1.0 }, downloadShadow: Boolean = true): RGBHistogram
Link copied to clipboard
fun <T : ConvertibleToColorRGBa> T.deltaE76(other: T): Double

Computes the CIE76 color difference (ΔE*76) between this color and another color. The method calculates the Euclidean distance between the two colors in the LAB color space. If either of the colors is not in LAB format, it will be converted to LAB before computation.