image

fun image(source: ImageSource)

Adds an image part to the content.

Parameters

source

The image source (URL, bytes, or file path).