ImageUtil Module

Functions and values

Function or value Description

loadImage fileName resize

Full Usage: loadImage fileName resize

Parameters:
    fileName : string
    resize : (int * int) option

Returns: float32[,,]

Loads a pixel array from a file and optionally resizes it in the process.

fileName : string
resize : (int * int) option
Returns: float32[,,]

saveImage pixels fileName resize

Full Usage: saveImage pixels fileName resize

Parameters:
    pixels : float32[,,]
    fileName : string
    resize : (int * int) option

Saves the given pixel array to a file and optionally resizes it in the process. Supports .png format.

pixels : float32[,,]
fileName : string
resize : (int * int) option

© Copyright 2025, Furnace Contributors.