arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
srgbToLinearRgb
arsd
color
Assumes the input
u
is already between 0 and 1 fyi.
@
safe
nothrow pure @
safe
@
nogc
double
srgbToLinearRgb
(
double
u
)
Meta
Source
See Implementation
arsd
color
classes
IndexedImage
TrueColorImage
functions
alphaBlend
colorFromString
darken
desaturate
extremify
findNearestColor
floodFill
floydSteinbergDither
fromHsl
fromOklab
lighten
linearOffset
makeAlpha
makeTextColor
moderate
oppositeLightness
quantize
rotateHue
saturate
setHue
setSaturation
srgbToLinearRgb
toHsl
toOklab
unalpha
interfaces
MemoryImage
structs
Angle
Color
ColorF
Lab
Point
Rectangle
Size
Assumes the input u is already between 0 and 1 fyi.