openrndr / org.openrndr.draw / loadImage

loadImage

fun loadImage(fileOrUrl: String): ColorBuffer

loads an image from a file or url encoded as String

fun loadImage(file: File): ColorBuffer

loads an image from file

fun loadImage(url: URL): ColorBuffer

loads an image from an url