Page MenuHomePhabricator

Add a method to get the cluster size of a ZIM file
Closed, InvalidPublic

Description

zimdiff/zimpatch must be able to rebuild exactly the same file like the original one. Do achieve this, they need to know what was the cluster size used by the zimwriter. The zimlib should implement a solution to deliver this information.


Version: unspecified
Severity: enhancement

Details

Reference
bz52082

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 1:51 AM
bzimport added a project: openZIM-zimlib.
bzimport set Reference to bz52082.

Adding a new header entry informing about the cluster size seems the best approach. We may add a new sub-version of the formar. In any case, this shouldn't break anything: old version of the zimlib (and any good ZIM reader) should be able to read these "new" files.