def raster.image

gralha-svg-render@0.1.0.1 · svg.bend:2284

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base
import gralha-image@0.1.0.1/image.bend as Img

2284def raster.image(image: Img.Picture) -> Raster:
2285  Img.Picture{w, h, depth, pixels} = image
2286  Raster{Point{0.0, 0.0}, 1.0, w, h, depth, False{}, pixels}

Uses (4)

Used by (1)