Have encountered an issue regarding the use of TIF-files. I am able to open PNG with the same code samples,
micrograph = Micrograph() micrograph.open_image('1200_SI_Diffraction_Nano_137_nm_730_kx-N-int.png') micrograph.image plt.imshow(micrograph.image) plt.show()
or
im = Micrograph('1200_SI_Diffraction_Nano_137_nm_730_kx-N-int.png') im.imshow()
But doing the same with .tif ending only produces the axis, see picture.

I can of course convert the images to PNG and I assume without too much quality loss, but I am curious if anyone has encountered this and has an idea of what can be the issue.
Thank you in advance!
Have encountered an issue regarding the use of TIF-files. I am able to open PNG with the same code samples,
micrograph = Micrograph() micrograph.open_image('1200_SI_Diffraction_Nano_137_nm_730_kx-N-int.png') micrograph.image plt.imshow(micrograph.image) plt.show()or
im = Micrograph('1200_SI_Diffraction_Nano_137_nm_730_kx-N-int.png') im.imshow()But doing the same with .tif ending only produces the axis, see picture.

I can of course convert the images to PNG and I assume without too much quality loss, but I am curious if anyone has encountered this and has an idea of what can be the issue.
Thank you in advance!