Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Unexpected EOF in DJVU::PoolByteStream::seek(long int, int, bool) #118

Open
jwilk opened this issue Mar 26, 2016 · 3 comments
Open

Unexpected EOF in DJVU::PoolByteStream::seek(long int, int, bool) #118

jwilk opened this issue Mar 26, 2016 · 3 comments
Labels

Comments

@jwilk
Copy link
Member

jwilk commented Mar 26, 2016

Issue reported by anonymous at Bitbucket:

try

pdf2djvu -o "Pages from 1273214_34B43_sassa_v_s_futerovka_indukcionnyh_plavilnyh_pechei_i_mikserov.djvu"  -d600 --bg-slices=71+16+16+16+16+16+16+16+16 --bg-subsample=1 "Pages from 1273214_34B43_sassa_v_s_futerovka_indukcionnyh_plavilnyh_pechei_i_mikserov.pdf"

get error

with 300dpi - no error



Attachment: Pages from 1273214_34B43_sassa_v_s_futerovka_indukcionnyh_plavilnyh_pechei_i_mikserov.pdf

@jwilk
Copy link
Member Author

jwilk commented Mar 26, 2016

Out of interest, why such quality settings?
Even if the conversion suceeded, size of the output file would be huge.

@jwilk
Copy link
Member Author

jwilk commented Mar 26, 2016

I've reproduced the issue. I suspect it's a bug in csepdjvu. I will investigate further.

@jwilk
Copy link
Member Author

jwilk commented Mar 26, 2016

I believe that the huge size is the culprit.

A DjVu page cannot be bigger than 16 MiB.
With --bg-slices=71+16+16+16+16+16+16+16+16 --bg-subsample=1 and dpi ≥ 522, this limit is exceeded.

@jwilk jwilk added the bug label Dec 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant