Difference between revisions of "Metadata"

Jump to navigation Jump to search
597 bytes added ,  09:07, 13 April 2022
Update specification about Illustration metadata.
(Update specification about Illustration metadata.)
Line 82: Line 82:
| mwoffliner 1.2.3
| mwoffliner 1.2.3
|-
|-
!Illustration_[height]x[width]
!Illustration_[height]x[width]@[scale]
|yes
|yes
|A png image (resolution [height] by [width]) to illustrate the zim file.
|A png image (resolution [height] by [width]) to illustrate the zim file.
This must be a binary content (png) with mimeytpe `image/png`.
This must be a binary content (png) with mimeytpe `image/png`.


`Illustration_48x48` is mandatory. Others are optional.
We follow the same specification than freedesktop  https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html for the size and scale of the icon.
 
`height`, `width`, `scale` describe the '''target''' size (where the icon is intended to be displayed) :
 
- `Illustration_48x48@1` is a 48x48 pixels image to be displayed as a 48x48 icon on a scale 1 screen.
 
- `Illustration_48x48@2` is a 96x96 pixels image to be displayed as a 48x48 icon on a scale 2 screen.
 
- `Illustration_96x96@1` is a 96x96 pixels image to be displayes as a 96x96 icon on a scale 1 screen.
 
 
`Illustration_48x48@1` is mandatory. Others are optional.
!
!
|}
|}
28

edits

Navigation menu