image_array_save {keras3} | R Documentation |
Saves an image stored as an array to a path or file object.
Description
Saves an image stored as an array to a path or file object.
Usage
image_array_save(
x,
path,
data_format = NULL,
file_format = NULL,
scale = TRUE,
...
)
Arguments
x |
An array. |
path |
Path or file object. |
data_format |
Image data format, either |
file_format |
Optional file format override. If omitted, the format to use is determined from the filename extension. If a file object was used instead of a filename, this parameter should always be used. |
scale |
Whether to rescale image values to be within |
... |
Additional keyword arguments passed to |
Value
Called primarily for side effects. The input x
is returned,
invisibly, to enable usage with the pipe.
See Also
Other image utils:
image_from_array()
image_load()
image_smart_resize()
image_to_array()
op_image_affine_transform()
op_image_crop()
op_image_extract_patches()
op_image_hsv_to_rgb()
op_image_map_coordinates()
op_image_pad()
op_image_resize()
op_image_rgb_to_grayscale()
op_image_rgb_to_hsv()
Other utils:
audio_dataset_from_directory()
clear_session()
config_disable_interactive_logging()
config_disable_traceback_filtering()
config_enable_interactive_logging()
config_enable_traceback_filtering()
config_is_interactive_logging_enabled()
config_is_traceback_filtering_enabled()
get_file()
get_source_inputs()
image_dataset_from_directory()
image_from_array()
image_load()
image_smart_resize()
image_to_array()
layer_feature_space()
normalize()
pad_sequences()
set_random_seed()
split_dataset()
text_dataset_from_directory()
timeseries_dataset_from_array()
to_categorical()
zip_lists()