plazi / arcadia-project

2 stars 1 forks source link

extra formats: adding png or jpg files /mulimedia #153

Open myrmoteras opened 4 years ago

myrmoteras commented 4 years ago

@slint together with peter Cornwell, we would like to add in extra formats a page fragment that covers an image of a page fragment of the original treatment, e.g. for Fringilla rubra image

image

Is it already possible to add multimedia files (png, jpg, tiff), and if not, can this be done?

This addition allows to check the extracted text used in the submitted xhtml file which is also the base for the content in description field, and thus is the ultimate proof of the treatment, its text and layout.

copyright issues: https://github.com/plazi/arcadia-project/issues/154

slint commented 4 years ago

IIRC, these fragments can be represented as IIIF URLs, if the original image (in actual image format) is stored on Zenodo. This would remove the need of storing the actual image file, and instead just the "coordinates" for defining the slice/crop that is needed.

As an example, from this figure record on Zenodo, we can crop the label:

Here's the source URL: https://zenodo.org/api/iiif/v2/fe0c6aae-9dcb-449c-a7f2-043725f88ce0:6c728107-34bd-4b0f-b3fa-2e58e31d7c1e:figure.png/20,450,960,100/pct:100/0/default.png (the 20,450,960,100 are the coordinates for the cropped region of the original image).

myrmoteras commented 4 years ago

@slint The image is not stored in Zenodo, and I understand also there is no IIIF publishing service accessible - is this so?. In fact we can't really make the images accessible because of the copyight of the entire article.

Also, in the idea of making the taxonomic treatments FAIR data, we would for this part not be dependent on an other service but for now just include the page fragment image as part of the deposit. This guarantees that whowever downloads the deposit will get the enitre package.

For that reason, we would just add a small image file as extra formats. Is this possible?