Changes

Jump to: navigation, search

ZIM file format

348 bytes removed, 21:00, 13 September 2010
no edit summary
The data area has a list of 4 byte offsets to the blobs counting from the first offset. The offset addresses uncompressed data. The last pointer points to the end of the data area. So there is always one more offset than blobs. Since the first offset points to the start of the first data, the number of offsets can be determined by dividing this offset by 4. The size of one blob is calculated by the difference of two consecutive offsets.
 
== Mime types ==
 
Currently these mime types are assigned:
 
{|{{Prettytable}}
! number !! mime-type
|-
| 0 || text/html
|-
| 1 || text/plain
|-
| 2 || image/jpeg
|-
| 3 || image/png
|-
| 4 || image/tiff
|-
| 5 || text/css
|-
| 6 || image/gif
|-
| 7 || index page
|-
| 8 || application/x-javascript
|-
| 9 || image/x-icon
|-
| 10 || text/xml
|-
|}
== Namespaces ==

Navigation menu