jwilk-archive / pdf2djvu

PDF to DjVu converter
GNU General Public License v2.0
94 stars 17 forks source link

Corrupted IFF file (Mangled chunk boundaries). #110

Closed jwilk closed 9 years ago

jwilk commented 9 years ago

In some cases pdf2djvu produces corrupted index file:

$ pdf2djvu tests/test-outline.pdf -p1 --no-metadata --page-title-template xx -i tmp.djvu
tests/test-outline.pdf:
- page #1 -> #1
57.500 bits/pixel; 27.357:1, 96.34% saved, 3146 bytes in, 115 bytes out

$ djvudump tmp.djvu
*** [1-15109] Corrupted IFF file (Mangled chunk boundaries).
*** (IFFByteStream.cpp:243)
*** 'int DJVU::IFFByteStream::get_chunk(DJVU::GUTF8String&, int*, int*)'
jwilk commented 9 years ago

Fixed in cef7b917bf1cde70884d444a4187fcebeec10ba8.

jwilk commented 9 years ago

Fixed in 0.8.2.