William,
If I understand your use case correctly, this is described in the second example here:
http://iiif.io/api/presentation/2.1/#rotation
which leverages the iiif:ImageApiSelector. I would be a little surprised to find viewer that supports it, however.
I’m not finding an example of the ImageApiSelector in the 3.0 beta draft, and can’t think of why that would be, other than that we perhaps intend to move the example to a cookbook entry.
-Jon
From:
"iiif-d...@googlegroups.com" <iiif-d...@googlegroups.com> on behalf of "william...@gmail.com" <william...@gmail.com>
Reply-To: "iiif-d...@googlegroups.com" <iiif-d...@googlegroups.com>
Date: Thursday, September 6, 2018 at 8:33 AM
To: IIIF Discuss <iiif-d...@googlegroups.com>
Subject: [IIIF-Discuss] Presentation API: Rotate, Mirror and Crop use cases.
A recurrent problem that someone raised informally in the manuscript call is that it's not evident how to specify rotation in a manifest, which we need when dealing with manuscript material. And we need it in the ranges.
Take the following case:
The Bavarian State Library published on their site (MDZ) a 1491 print of the Corpus Iuris Civilis, and made it available via IIIF (here's the manifest: https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb00049967/manifest).
Now, our project (Fragmentarium) is interested in manuscript fragments, and we know from a catalog that this book has parts of a twelfth-century missal glued to the binding (as in the picture there), so we decided to import it (this was actually done as a classroom exercise in Macerata). On Fragmentarium, we used IIIF to publish the results; send off a few press releases, and Munich, Macerata, and Fribourg are well-pleased.
Here's the problem: the Munich IIIF series is for the 1491 book, and they don't care much about the manuscript fragments. So their photographs are oriented the way they should be, right-side up according to the book. Now, we want to present the fragments, which in this case are glued both right-side up and upside-down, on the same photo. We would like to present them:
1. As they appear in the book
2. Right-side up, as bifolia of manuscripts.
3. Page by page, in reading order
1. is no problem: that's what you're looking at in the case above. We just point at the canvas being served from Munich.
2. and 3., however, are in our current system (Presentation 2.1), not fully implemented. As I understand it, we have a rotation/mirror hack that allows us to specify that IIIF-imported images are to be shown rotated, or (in another very common fragment case, that of offsets) mirrored on our viewer; on the IIIF manifest that we provide, of course, such niceties are not included (compare: https://fragmentarium.ms/overview/F-pono with the IIIF manifest that it produces).
The solution that we employ, then, is to host the images locally and serve them up as distinct canvases (as you can see from the example above). This defeats the purpose of IIIF, since the owning institution no longer serves the images and we have to add an offline component to our workflow.
So, as I prepare the next set of specifications for our application, we are going to be specifying rotation, mirror, and crop at the range level. For our project, these are not edge cases, but regular occurrences. We would like as much of this as possible to work with IIIF.
Am I correct in assuming that, to do this within Presentation API 3.0 (as currently specified), it would require (in 3.0) not just using FragmentSelector from WebAnnotation, but also transform from CSS3Selectors, which is something that WebAnnotation explicitly discourages?
Is there a way to make this work?
William Duba
Fragmentarium (http://fragmentarium.ms)
--
-- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss...@googlegroups.com. For more options,
visit this group at
https://groups.google.com/d/forum/iiif-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
iiif-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
-- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.