convertClipData(data, from_binary, from_blosc_compression, to_binary, to_blosc_compression)
→ str
Converts the given clip data from the given format into the specified format.
from_binary and from_blosc_compression specify the format of the given data.
-
If from_binary is
True
, the given data is binary clip data. Otherwise it is plain text (ASCII) clip data. -
If from_blosc_compression is
True
, the given data is blosc compressed binary clip data. This cannot be used with ASCII clip data.
to_binary and to_blosc_compression specify the format the data should be converted to.
-
If to_binary is
True
, convert to binary clip data. Otherwise convert to ASCII clip data. -
If to_blosc_compression is
True
, convert to blosc compressed binary clip data. This cannot be used with ASCII clip data.
Raises a hou.InvalidInput exception if from_binary = False
and
from_blosc_compression = True
, or if to_binary = False
and
to_blosc_compression = True
.
Raises a hou.OperationFailed exception if the given data is invalid.