fromImage

Reads a Bitmap into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image.

Since

1.5.0

Parameters

img

The image to read from.


Reads an image file into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image file.

Since

1.7.0

Parameters

file

The image file to read.


Reads an image file into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image file.

Since

1.7.0

Parameters

file

The image bytes to read.

Reads a BufferedImage into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image.

Since

1.4.1

Parameters

img

The image to read from.


Reads an image file into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image file.

Since

1.4.0 (common with Android since 1.7.0)

Parameters

file

The image file to read.


Reads an image file into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image file.

Since

1.7.0

Parameters

file

The image bytes to read.

Reads an image file into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image file.

Since

1.7.0

Parameters

file

The image bytes to read.


expect fun F64Array.Companion.fromImage(file: <Error class: unknown class>): F64ImageArray

Reads an image file into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image file.

Since

1.4.0 (common with Android since 1.7.0)

Parameters

file

The image file to read.