jwilk-archive / pdf2djvu

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

Attachment loss during the conversion #116

Open jwilk opened 8 years ago

jwilk commented 8 years ago

Issue reported by thanks_for_the_fish at Bitbucket:

I converted one pdf-document which had a couple other pdf's attached inside. The attachments were "lost" in the resulting .djvu-file.

1) Are .djvu-files able to carry attachments and if yes, could pdf2djvu be made to keep these in the resulting pdf2djvu-file?

2) If not, perhaps pdf2djvu could be made to detect attachments and notify the user about the possible "loss" (once converted, I usually delete the obsolete pdf-file and I don't think about checking the file for attachments first).

jwilk commented 8 years ago

There is no standardized way to have attachments inside DjVu files.

Yes, pdf2djvu could print a warning if there's an attachment it's going to ignore.