Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A large tif image silently does not load #4

Closed
cmbruns opened this issue Nov 24, 2021 · 4 comments
Closed

A large tif image silently does not load #4

cmbruns opened this issue Nov 24, 2021 · 4 comments
Assignees
Projects

Comments

@cmbruns
Copy link
Owner

cmbruns commented Nov 24, 2021

1980s/1982/Pels1982.tif

@ckbruns ckbruns added this to To do in Tasks Nov 25, 2021
@cmbruns cmbruns moved this from To do to Higher Priority in Tasks Nov 29, 2021
@cmbruns
Copy link
Owner Author

cmbruns commented Nov 29, 2021

That's a 16 bit grayscale image. I might need to patch pillow to make this work.

@cmbruns
Copy link
Owner Author

cmbruns commented Nov 29, 2021

In ImageQt.py

    bits_per_pixel = {"1": 1, "L": 8, "P": 8, "I;16": 16}[mode]
    ...
    elif im.mode == "I;16":
        format = qt_format.Format_Grayscale16

@cmbruns
Copy link
Owner Author

cmbruns commented Nov 30, 2021

@cmbruns
Copy link
Owner Author

cmbruns commented Jan 2, 2022

Loads after opengl/numpy refactor

@cmbruns cmbruns closed this as completed Jan 2, 2022
Tasks automation moved this from Higher Priority to Done Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Tasks
Done
Development

No branches or pull requests

2 participants