Unfortunately, I cannot share the .czi file in question yet. When I try to load the file, the image is loaded but the size metadata is not loaded. The first channel looks ok, but the second channel is broken.
I dug into the problem in question and found there error to be caused during reading. This break statement causes the reader to stop reading early. If I change that break to a continue, the file is loaded correctly.
The file seems to read fine, until it encouters a ZISRAWATTDIR here. That appears to be ok, but then on subsequent reads, in.readString(16).trim(); returns an empty string.
That means this line causes the reader to stop reading. If I change the break to a continue then the file gets read and the image appears correctly. There is an error, but it doesn't seem to do anything.
[Fatal Error] :1:45: An invalid XML character (Unicode: 0x0) was found in the element content of the document.
Ill talk to the person I got the czi from. It's possible it is broken, if not I should be able to get another example that I can share.
Unfortunately, I cannot share the .czi file in question yet. When I try to load the file, the image is loaded but the size metadata is not loaded. The first channel looks ok, but the second channel is broken.
I dug into the problem in question and found there error to be caused during reading. This break statement causes the reader to stop reading early. If I change that break to a continue, the file is loaded correctly.
The file seems to read fine, until it encouters a
ZISRAWATTDIRhere. That appears to be ok, but then on subsequent reads,in.readString(16).trim();returns an empty string.That means this line causes the reader to stop reading. If I change the
breakto acontinuethen the file gets read and the image appears correctly. There is an error, but it doesn't seem to do anything.Ill talk to the person I got the czi from. It's possible it is broken, if not I should be able to get another example that I can share.