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

Selection tool very slow for larger images #46

Open
kroppt opened this issue Jul 9, 2020 · 0 comments
Open

Selection tool very slow for larger images #46

kroppt opened this issue Jul 9, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@kroppt
Copy link
Collaborator

kroppt commented Jul 9, 2020

When opening large images, such as those taken by expensive cameras, reaching into 10,000 by 10,000 pixels, it's really slow.
Our current implementation uses a map to keep track of which pixels are currently in use. The problem is that such an image needs 100 MB of space if using a single byte to store that information, assuming no overhead, like in an array.
Perhaps we should consider rectangle selections that don't save all that information, at least as an alternative in big images.

@kroppt kroppt added the bug Something isn't working label Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant