def bitmap.decode

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

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

2301def bitmap.decode(+href: String) -> Raster:
2302  U.branch(Raster, U.prefix(href, "data:"), _ => bitmap.uri(U.until(U.drop(href, "data:"), 44, "")), _ => bitmap.empty())

Uses (8)

Used by (1)