kmplitert
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kmplitert
tool
/
io.github.kmplitert.tool.image
/
LiteRtImage
/
toGrayscale
to
Grayscale
expect
fun
toGrayscale
(
)
:
LiteRtImage
Converts the image to grayscale.
Return
A new
LiteRtImage
in grayscale format (typically 1 channel).