Closed JLrumberger closed 3 years ago
Thanks for giving it a shot and raising this issue, there's definitely still things to improve.. I think this error may arise because you are trying to compress data with JPEG that is not 8-bit RGB. What is the dtype
and shape of your fluorescent image? It may be stored interleaved but greater than unsigned 8-bit.
Definitely I will also expose compressed as an argument to the file_writer
so you don't have to hack the code yourself!
Closing due to inactivity.
Description
I want to register an IF WSI (moving) on a HE WSI (fixed). PreProcessing and calculation of offsets worked like a charm, but the transform_images step failed because of a delayed import error. The imagecodecs library is definitively available in the environment, so that shouldn't be the error. I'll try it now with compression=None instead of "jpeg" in the file_writer and see if it solves this problem. Thanks for the work, the library seems great besides this problem with the file writer.
What I Did