Code: Select all
imagePath = r"C:\path"
nd2.nd2_to_tiff(imagePath, imagePath[:-4] + '.tiff')
< /code>
Hier ist der Fehler, den ich erhalte: < /p>
Traceback (most recent call last):
File "c:\Users\...\main.py", line 83, in
nd2.nd2_to_tiff(imagePath, imagePath[:-4] + '.tiff')
File "C:\Users\...\site-packages\nd2\tiff.py", line 187, in nd2_to_tiff
resolutionunit=tf.TIFF.RESUNIT.MICROMETER,
^^^^^^^^^^^^^^^
AttributeError: '_TIFF' object has no attribute 'RESUNIT'
Mobile version