Skip to content

Commit

Permalink
page: imageFilename should emphatically NOT be URL, OCR-D/core#176
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jan 10, 2020
1 parent 34dd985 commit c14c70d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions page.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ The PAGE XML root element `<pc:PcGts>` MUST have exactly one `<pc:Page>`.
### URL for imageFilename / filename

The `imageFilename` of the `<pg:Page>` and `filename` of the
`<pg:AlternativeImage>` element MUST be a URL. A local filename should be a
`file://` URL.
`<pg:AlternativeImage>` element MUST be a filename relative to the `mets.xml`.

All URL used in `imageFilename` and `filename` [MUST be referenced in a fileGrp
in METS](https://ocr-d.github.io/mets#if-in-page-then-in-mets).
Expand All @@ -38,8 +37,7 @@ To encode images derived from the original image, the `<pc:AlternativeImage>`
should be used. Its `filename` attribute should reference the URL of the
derived image.

The `comments` attribute should be one or more (separated by comma) terms of
the following list:
The `comments` attribute SHOULD be used according to the [AlternativeImage classification](#alternativeimage-classification).

### AlternativeImage: classification

Expand Down

0 comments on commit c14c70d

Please sign in to comment.