The routine read_cluster_pointer in zimpy.py can sometimes return incorrect sizes. According to the zimlib source the correct way to get the size of a blob is to read all the offset pointers and look at difference in those indexes. This of course will require uncompressing the cluster records if they are compressed.
The routine read_cluster_pointer in zimpy.py can sometimes return incorrect sizes. According to the zimlib source the correct way to get the size of a blob is to read all the offset pointers and look at difference in those indexes. This of course will require uncompressing the cluster records if they are compressed.