Function: to_image

Function: to_image

since 0.3.8

Usage

 to_image(any value)

Convert any value to a image.

A string is interpreted as a filename.

Parameters

Parameter Type Description
input any type Value to convert to an image

Examples

 to_image("image1.png")  ==  "image1.png"