You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code does not properly handle cases where an image file contains multiple images.
A test image is available on https://sandbox.zenodo.org/records/12129 with 5 images. The first being 4332 × 6804 the last being 135x212. The method detects the last image as the width/height, but we display the first.
Solution
For the test case the right width/height can found like this:
Describe the bug
This code does not properly handle cases where an image file contains multiple images.
A test image is available on https://sandbox.zenodo.org/records/12129 with 5 images. The first being 4332 × 6804 the last being 135x212. The method detects the last image as the width/height, but we display the first.
Solution
For the test case the right width/height can found like this:
Above should be tested on a suite of different images and types to ensure it works reliably.
Steps to Reproduce
Upload an image and check the IIIF manifest:
https://sandbox.zenodo.org/api/iiif/record:12129:2007-09-28_16-29-41.pyr.tif/info.json
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: