Skip to content

Problem opening TIF-files #25

Description

@Blatand95

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.
bild

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions