openzim / zim-tools

Various ZIM command line tools
https://download.openzim.org/release/zim-tools/
GNU General Public License v3.0
133 stars 35 forks source link

Zimwriterfs create zim file with compressed illustration (wrong mimetype) #355

Closed mgautierfr closed 1 year ago

mgautierfr commented 1 year ago

Zimwriterfs add all metadata using addMetada (https://github.com/openzim/zim-tools/blob/main/src/zimwriterfs/zimwriterfs.cpp#L126). But the default mimetype in this case is text/plain;charset=utf-8 which is obviously wrong for illustration.