|
Loads a pixel array from a file and optionally resizes it in the process. Resizing uses bicubic interpolation.
-
fileName
:
string
-
resize
:
(int * int) option
-
Returns:
float32[,,]
|
|
Saves the given pixel array to a file and optionally resizes it in the process. Resizing uses bicubic interpolation. Supports .png and .jpg formats.
-
pixels
:
float32[,,]
-
fileName
:
string
-
resize
:
(int * int) option
|