toImageSource

Reads a still image from this path, for a watermark or a title card.

The path is passed through as its own string, the way toMediaSource passes it.


fun ByteString.toImageSource(): ImageSource(source)

Reads these bytes as a still image.

The array is copied out of the string, the way toMediaSource copies it.