Difference between revisions of "Metadata"

Jump to navigation Jump to search
674 bytes added ,  09:09, 13 April 2022
m
(One intermediate revision by the same user not shown)
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.
 
<code>height</code>, <code>width</code>, <code>scale</code> describe the '''target''' size (where the icon is intended to be displayed) :
 
- <code>Illustration_48x48@1</code> is a 48x48 pixels image to be displayed as a 48x48 icon on a scale 1 screen.
 
- <code>Illustration_48x48@2</code> is a 96x96 pixels image to be displayed as a 48x48 icon on a scale 2 screen.
 
- <code>Illustration_96x96@1</code> is a 96x96 pixels image to be displayes as a 96x96 icon on a scale 1 screen.
 
 
<code>Illustration_48x48@1</code> is mandatory. Others are optional.
!
!
|}
|}
31

edits

Navigation menu