← back to roto on ba3a.dev

read

fun read(path: Path): Raster

Reads the PNG at path.


fun read(input: InputStream): Raster

Reads a PNG from input, which is read to its end but not closed.