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

Add a cropping function #1

Open
raacampbell opened this issue Nov 30, 2022 · 0 comments
Open

Add a cropping function #1

raacampbell opened this issue Nov 30, 2022 · 0 comments
Labels
TODO Task that needs doing

Comments

@raacampbell
Copy link
Collaborator

There should be a widget with a button that allows the user to crop the data. It should work as:

  • User adds a shape layer with a rectangle.
  • If the shape layer contains a single rectangle, that enables a "CROP" button in the widget. The button will only be enabled if all loaded stacks are the same size to begin with.
  • User clicking the CROP button brings up a confirmation dialog.
  • If users asks to proceed, all loaded stacks are cropped and the original data are replaced or a new copy made (the user should choose but "replaced" is probably the best option.

After the cropping, we should probably load the cropped stacks.

@raacampbell raacampbell added the TODO Task that needs doing label Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TODO Task that needs doing
Projects
None yet
Development

No branches or pull requests

1 participant