Player input from image
Supports the same mime-types as img.src
Creates Image input from the given Url
const photo = new Image("https://placekitten.com/200/300") Copy
const photo = new Image("https://placekitten.com/200/300")
Creates Image input from the given Blob
const file = $("#file-input").files[0] // File is subclass of Blobconst photo = new Image(file) Copy
const file = $("#file-input").files[0] // File is subclass of Blobconst photo = new Image(file)
Player input from image
Supports the same mime-types as img.src