colour.io.write_LUT_SonySPI3D¶
-
colour.io.
write_LUT_SonySPI3D
(LUT, path, decimals=7)[source]¶ Writes given LUT to given Sony .spi3d LUT file.
- Parameters
- Returns
Definition success.
- Return type
Warning
If a
LUTSequence
class instance is passed asLUT
, the first LUT in the LUT sequence will be used.
Examples
Writing a 3D Sony .spi3d LUT:
>>> LUT = LUT3D( ... LUT3D.linear_table(16) ** (1 / 2.2), ... 'My LUT', ... np.array([[0, 0, 0], [1, 1, 1]]), ... comments=['A first comment.', 'A second comment.']) >>> write_LUT_SonySPI3D(LUT, 'My_LUT.cube')