arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
makeAlpha
arsd
color
@
safe
nothrow pure @
safe
@
nogc
ubyte
makeAlpha
(
ubyte
colorYouHave
,
ubyte
backgroundColor
)
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