bioio.writers.two_d_writer.TwoDWriter

class bioio.writers.two_d_writer.TwoDWriter[source]

A writer for image data is only 2 dimension with samples (RGB / RGBA) optional. Primarily directed at formats: “png”, “jpg”, etc.

This is primarily a passthrough to imageio.imwrite.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_extension_and_mode(path)

Provided a path to a file, provided back the extension (format) of the file and the imageio read mode.

save(data, uri[, dim_order, fs_kwargs])

Write a data array to a file.

Attributes