Open markcmiller86 opened 4 years ago
My guess is that Brad would have added this functionality.
We might not want to change the current behavior if this is for Cinema. We should either provide a way to convert this into something that others can use or provide another option.
Describe the bug
If you check the box to save
Depth
Pixel data for an image save, you get a file named something likefoo0000.depth.Z
. I think it is a compressed, 2D array of float values. However, no matter what I tried, I was unable to read it. I tried to uncompress with unzip, gunzip, uncompress. Nothing worked. Afile
command indicates itszlib compressed data
. But, it seems to have no header encoded in the file and so maybe needs some 'help' to read correctly?I suspect the only consumer of this file is Cinema and if so, I suspect that may be because Cinema is being used in such a way or agnostic to whether the compressed data is a
raw buffer
or a full fledged zlibcompressed stream
. These things are different.