Read and write/save 3-D image

i just tried Tim’s code and it works. However there are a lot of external package dependencies. However, “the error continues” is not particularly helpful, please read the following and provide some more detail. My guess is that you have a package configuration problem of some sort, or even a missing package.