Input and Output

Image Data

colour

read_image(path[, bit_depth]) Reads given image using OpenImageIO.
write_image(image, path[, bit_depth, attributes]) Writes given image using OpenImageIO.

Ancillary Objects

colour.io

ImageAttribute_Specification Defines the an image specification attribute.

CSV Tabular Data

colour

read_spds_from_csv_file(path[, delimiter, …]) Reads the spectral data from given CSV file and return its content as an OrderedDict of colour.SpectralPowerDistribution classes.
read_spectral_data_from_csv_file(path[, …]) Reads the spectral data from given CSV file in the following form:
write_spds_to_csv_file(spds, path[, …]) Writes the given spectral power distributions to given CSV file.

IES TM-27-14 Data

colour

IES_TM2714_Spd([path, header, …]) Defines a IES TM-27-14 spectral power distribution.

X-Rite Data

colour

read_spds_from_xrite_file(path) Reads the spectral data from given X-Rite file and returns it as an OrderedDict of colour.SpectralPowerDistribution classes.