toImage

fun F64ImageArray.toImage(file: <Error class: unknown class>)

Writes an F64Array to an image file.

Receiver

The image array. See F64Array.fromImage for the format.

Since

1.4.1

Parameters

file

The image file to write to. Valid file extensions are .png, .jpg, and .webp.


fun F64Array.toImage(file: <Error class: unknown class>)

Deprecated

Use array.image instead

Replace with

image.toImage(file)

Writes an F64Array to an image file.

Receiver

The image array. See F64Array.fromImage for the format.

Since

1.4.0

Parameters

file

The image file to write to. Valid file extensions are .png, .jpg, and .webp.