← back to roto on ba3a.dev

fromRaster

fun fromRaster(raster: Raster): Mask

The mask toRaster stored: a pixel at least half opaque is foreground.