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

Investigate replacing leaflet-iiif with another cropping library #3132

Open
marlo-longley opened this issue Sep 19, 2024 · 4 comments
Open
Assignees

Comments

@marlo-longley
Copy link
Contributor

Related to #2961

@marlo-longley marlo-longley changed the title Investigate replacing leaflet-iiif with another library Investigate replacing leaflet-iiif with another cropping library Sep 19, 2024
@marlo-longley
Copy link
Contributor Author

From Steve: I also think we'd want to avoid dramatically changing behavior to the point where we'd want to do a whole design review.

@cbeer
Copy link
Member

cbeer commented Sep 19, 2024

I think the key features of the current cropper are:

  • allowing the user to zoom + pan around an image
  • support fixed-aspect cropping modes
  • zooming + panning should not change the any selected cropped area
  • not-too-heavyweight (e.g. pulling in all of Mirador isn't ideal.)

@dnoneill dnoneill self-assigned this Sep 19, 2024
@dnoneill
Copy link
Contributor

dnoneill commented Sep 19, 2024

Couple approaches we could do:

  1. Create our own OpenSeadragon listener that would draw
  2. https://github.com/tuvia-r/openseadragon-select-plugin/tree/main (2 years is the last update which isn't great)
  3. https://annotorious.dev/getting-started/ customize annotorious viewer.
  4. https://github.com/dpb587/iiifimage.link
  5. OpenLayers https://openlayers.org/en/latest/examples/iiif.html (use shift. It zooms but should be easy enough to edit, I think)

@marlo-longley
Copy link
Contributor Author

marlo-longley commented Oct 24, 2024

Another great option could be https://github.com/dbmdz/mirador-imagecropper
This is developed and used by our colleagues at Leipzig, who are currently also working to make it compatible with Mirador 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants