How to fix error in pdf2djvu: “Bogus memory allocation size”Handle Doc/Docx Templates on a headless...

Comment Box for Substitution Method of Integrals

What is the significance behind "40 days" that often appears in the Bible?

Can a medieval gyroplane be built?

How to define limit operations in general topological spaces? Are nets able to do this?

Do I need to consider instance restrictions when showing a language is in P?

Does the attack bonus from a Masterwork weapon stack with the attack bonus from Masterwork ammunition?

Turning a hard to access nut?

Light propagating through a sound wave

What favor did Moody owe Dumbledore?

Wrapping homogeneous Python objects

Can a wizard cast a spell during their first turn of combat if they initiated combat by releasing a readied spell?

Help rendering a complicated sum/product formula

How to generate binary array whose elements with values 1 are randomly drawn

The average age of first marriage in Russia

In what cases must I use 了 and in what cases not?

Existence of a celestial body big enough for early civilization to be thought of as a second moon

Matrix using tikz package

When to use snap-off blade knife and when to use trapezoid blade knife?

Are dual Irish/British citizens bound by the 90/180 day rule when travelling in the EU after Brexit?

Writing in a Christian voice

Why are there no stars visible in cislunar space?

Could Sinn Fein swing any Brexit vote in Parliament?

What can I do if I am asked to learn different programming languages very frequently?

If "dar" means "to give", what does "daros" mean?



How to fix error in pdf2djvu: “Bogus memory allocation size”


Handle Doc/Docx Templates on a headless server to produce PDFs preferably without using OpenOffice.orgText inside files has squares with numbers in itHow to insert a page in a DJVU file without quality loss?How can I edit a picture into an existing PDF file?How can I cut the margin of a PDF or djvu file for optimal booklet printing?how to determine dpi size of a pdf & djvuWhy won't .pdf files containing transparent elements print correctly?“Print it later” softwareHow to print PDF or Postscript files to printer directly from the command lineDoes this Windows program running under Wine not recognize the absolute pathname to its argument?













2















I am using pdf2djvu to convert a pdf file into a djvu file, but got this error while trying to convert either bundled or indirect multi-page djvu file:



$ pdf2djvu 1.pdf -o 1.djvu
1.pdf:
- page #1 -> #1
Bogus memory allocation size

$ pdf2djvu 1.pdf -i 1.djvu
1.pdf:
- page #1 -> #1
Bogus memory allocation size


I was wondering what is wrong here and how I shall fix the problem? You can suggest another application other than pdf2djvu, to convert it to djvu.



My pdf file can be downloaded from here , in case that you may wonder what is special about it.










share|improve this question





























    2















    I am using pdf2djvu to convert a pdf file into a djvu file, but got this error while trying to convert either bundled or indirect multi-page djvu file:



    $ pdf2djvu 1.pdf -o 1.djvu
    1.pdf:
    - page #1 -> #1
    Bogus memory allocation size

    $ pdf2djvu 1.pdf -i 1.djvu
    1.pdf:
    - page #1 -> #1
    Bogus memory allocation size


    I was wondering what is wrong here and how I shall fix the problem? You can suggest another application other than pdf2djvu, to convert it to djvu.



    My pdf file can be downloaded from here , in case that you may wonder what is special about it.










    share|improve this question



























      2












      2








      2








      I am using pdf2djvu to convert a pdf file into a djvu file, but got this error while trying to convert either bundled or indirect multi-page djvu file:



      $ pdf2djvu 1.pdf -o 1.djvu
      1.pdf:
      - page #1 -> #1
      Bogus memory allocation size

      $ pdf2djvu 1.pdf -i 1.djvu
      1.pdf:
      - page #1 -> #1
      Bogus memory allocation size


      I was wondering what is wrong here and how I shall fix the problem? You can suggest another application other than pdf2djvu, to convert it to djvu.



      My pdf file can be downloaded from here , in case that you may wonder what is special about it.










      share|improve this question
















      I am using pdf2djvu to convert a pdf file into a djvu file, but got this error while trying to convert either bundled or indirect multi-page djvu file:



      $ pdf2djvu 1.pdf -o 1.djvu
      1.pdf:
      - page #1 -> #1
      Bogus memory allocation size

      $ pdf2djvu 1.pdf -i 1.djvu
      1.pdf:
      - page #1 -> #1
      Bogus memory allocation size


      I was wondering what is wrong here and how I shall fix the problem? You can suggest another application other than pdf2djvu, to convert it to djvu.



      My pdf file can be downloaded from here , in case that you may wonder what is special about it.







      pdf djvu format-conversion






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 12 mins ago









      Richlv

      1053




      1053










      asked Jul 5 '11 at 23:48









      TimTim

      8,21843104177




      8,21843104177






















          3 Answers
          3






          active

          oldest

          votes


















          2














          You have to install python-djvu package and it should work. Worked for me



          Good luck



          John






          share|improve this answer































            1














            To convert djvu to pdf use DJView and export as PDF



            Step - 1 : Goto software centre



            Step - 2 : Install DJview4



            Step - 3 : Run DJview (Applications - Graphics - DJView4)



            Step - 4 : Open your .djvu document



            Step - 5 : Menu - Export As: PDF
            enter image description here






            share|improve this answer

































              1














              This question is specific to pdf2djvu. pdf2djvu and other pdf/djvu FOSS tools are available for both windows and Ubuntu, so I am posting a working solution here.
              At the time of writing, I am using pdf2djvu on a Windows machine.



              After downloading and splitting your PDF into hundreds of single-page PDFs (using pdftk), I ran pdf2djvu over all files. It turns out that only the Cover page has some problem with pdf2djvu, rest of the PDFs are easily converted to DJVU.
              In DOS it was a single line:



              FORFILES /M *.pdf /C "cmd /c  echo. & echo @path @fname & C:PDFpdf2djvu-0.7.14pdf2djvu.exe -o @fname.djvu @file"


              and the result was:



              "C:Test1pg_0001.pdf" "pg_0001"
              PDF error (81): Illegal character <3f> in hex string
              PDF error (82): Illegal character <78> in hex string
              PDF error (83): Illegal character <70> in hex string
              ...
              ...
              PDF error (130): Illegal character <22> in hex string
              PDF error (131): Illegal character <3f> in hex string
              pg_0001.pdf:
              - page #1 -> #1
              Bogus memory allocation size

              "C:Test1pg_0002.pdf" "pg_0002"
              pg_0002.pdf:
              - page #1 -> #1
              0.006 bits/pixel; 76.076:1, 98.69% saved, 437896 bytes in, 5756 bytes out

              "C:Test1pg_0003.pdf" "pg_0003"
              pg_0003.pdf:
              - page #1 -> #1
              0.001 bits/pixel; 15.094:1, 93.37% saved, 14143 bytes in, 937 bytes out

              "C:Test1pg_0004.pdf" "pg_0004"
              pg_0004.pdf:
              - page #1 -> #1
              0.002 bits/pixel; 6.835:1, 85.37% saved, 16875 bytes in, 2469 bytes out

              "C:Test1pg_0005.pdf" "pg_0005"
              pg_0005.pdf:
              - page #1 -> #1
              0.001 bits/pixel; 15.156:1, 93.40% saved, 14141 bytes in, 933 bytes out

              "C:Test1pg_0006.pdf" "pg_0006"
              pg_0006.pdf:
              - page #1 -> #1
              0.006 bits/pixel; 76.103:1, 98.69% saved, 437894 bytes in, 5754 bytes out

              "C:Test1pg_0007.pdf" "pg_0007"
              pg_0007.pdf:
              - page #1 -> #1
              0.009 bits/pixel; 3.635:1, 72.49% saved, 32286 bytes in, 8882 bytes out

              "C:Test1pg_0008.pdf" "pg_0008"
              pg_0008.pdf:
              - page #1 -> #1
              0.006 bits/pixel; 5.649:1, 82.30% saved, 36852 bytes in, 6524 bytes out

              "C:Test1pg_0009.pdf" "pg_0009"
              pg_0009.pdf:
              - page #1 -> #1
              0.001 bits/pixel; 15.190:1, 93.42% saved, 14142 bytes in, 931 bytes out

              "C:Test1pg_0010.pdf" "pg_0010"
              pg_0010.pdf:
              - page #1 -> #1
              0.010 bits/pixel; 4.485:1, 77.70% saved, 45330 bytes in, 10108 bytes out


              ...



              So you can do the same in Ubuntu, skip the erroneous pages, and convert rest of the pages into djvu, and then bundle them back into a single DJVU file by using djvm package in Ubuntu from DJVU-Libre.






              share|improve this answer























                Your Answer








                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "89"
                };
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function() {
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled) {
                StackExchange.using("snippets", function() {
                createEditor();
                });
                }
                else {
                createEditor();
                }
                });

                function createEditor() {
                StackExchange.prepareEditor({
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader: {
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                },
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f51939%2fhow-to-fix-error-in-pdf2djvu-bogus-memory-allocation-size%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                2














                You have to install python-djvu package and it should work. Worked for me



                Good luck



                John






                share|improve this answer




























                  2














                  You have to install python-djvu package and it should work. Worked for me



                  Good luck



                  John






                  share|improve this answer


























                    2












                    2








                    2







                    You have to install python-djvu package and it should work. Worked for me



                    Good luck



                    John






                    share|improve this answer













                    You have to install python-djvu package and it should work. Worked for me



                    Good luck



                    John







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 2 '12 at 21:15









                    JohnJohn

                    212




                    212

























                        1














                        To convert djvu to pdf use DJView and export as PDF



                        Step - 1 : Goto software centre



                        Step - 2 : Install DJview4



                        Step - 3 : Run DJview (Applications - Graphics - DJView4)



                        Step - 4 : Open your .djvu document



                        Step - 5 : Menu - Export As: PDF
                        enter image description here






                        share|improve this answer






























                          1














                          To convert djvu to pdf use DJView and export as PDF



                          Step - 1 : Goto software centre



                          Step - 2 : Install DJview4



                          Step - 3 : Run DJview (Applications - Graphics - DJView4)



                          Step - 4 : Open your .djvu document



                          Step - 5 : Menu - Export As: PDF
                          enter image description here






                          share|improve this answer




























                            1












                            1








                            1







                            To convert djvu to pdf use DJView and export as PDF



                            Step - 1 : Goto software centre



                            Step - 2 : Install DJview4



                            Step - 3 : Run DJview (Applications - Graphics - DJView4)



                            Step - 4 : Open your .djvu document



                            Step - 5 : Menu - Export As: PDF
                            enter image description here






                            share|improve this answer















                            To convert djvu to pdf use DJView and export as PDF



                            Step - 1 : Goto software centre



                            Step - 2 : Install DJview4



                            Step - 3 : Run DJview (Applications - Graphics - DJView4)



                            Step - 4 : Open your .djvu document



                            Step - 5 : Menu - Export As: PDF
                            enter image description here







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Apr 16 '12 at 15:50

























                            answered Apr 3 '12 at 8:58









                            TachyonsTachyons

                            13.6k1465113




                            13.6k1465113























                                1














                                This question is specific to pdf2djvu. pdf2djvu and other pdf/djvu FOSS tools are available for both windows and Ubuntu, so I am posting a working solution here.
                                At the time of writing, I am using pdf2djvu on a Windows machine.



                                After downloading and splitting your PDF into hundreds of single-page PDFs (using pdftk), I ran pdf2djvu over all files. It turns out that only the Cover page has some problem with pdf2djvu, rest of the PDFs are easily converted to DJVU.
                                In DOS it was a single line:



                                FORFILES /M *.pdf /C "cmd /c  echo. & echo @path @fname & C:PDFpdf2djvu-0.7.14pdf2djvu.exe -o @fname.djvu @file"


                                and the result was:



                                "C:Test1pg_0001.pdf" "pg_0001"
                                PDF error (81): Illegal character <3f> in hex string
                                PDF error (82): Illegal character <78> in hex string
                                PDF error (83): Illegal character <70> in hex string
                                ...
                                ...
                                PDF error (130): Illegal character <22> in hex string
                                PDF error (131): Illegal character <3f> in hex string
                                pg_0001.pdf:
                                - page #1 -> #1
                                Bogus memory allocation size

                                "C:Test1pg_0002.pdf" "pg_0002"
                                pg_0002.pdf:
                                - page #1 -> #1
                                0.006 bits/pixel; 76.076:1, 98.69% saved, 437896 bytes in, 5756 bytes out

                                "C:Test1pg_0003.pdf" "pg_0003"
                                pg_0003.pdf:
                                - page #1 -> #1
                                0.001 bits/pixel; 15.094:1, 93.37% saved, 14143 bytes in, 937 bytes out

                                "C:Test1pg_0004.pdf" "pg_0004"
                                pg_0004.pdf:
                                - page #1 -> #1
                                0.002 bits/pixel; 6.835:1, 85.37% saved, 16875 bytes in, 2469 bytes out

                                "C:Test1pg_0005.pdf" "pg_0005"
                                pg_0005.pdf:
                                - page #1 -> #1
                                0.001 bits/pixel; 15.156:1, 93.40% saved, 14141 bytes in, 933 bytes out

                                "C:Test1pg_0006.pdf" "pg_0006"
                                pg_0006.pdf:
                                - page #1 -> #1
                                0.006 bits/pixel; 76.103:1, 98.69% saved, 437894 bytes in, 5754 bytes out

                                "C:Test1pg_0007.pdf" "pg_0007"
                                pg_0007.pdf:
                                - page #1 -> #1
                                0.009 bits/pixel; 3.635:1, 72.49% saved, 32286 bytes in, 8882 bytes out

                                "C:Test1pg_0008.pdf" "pg_0008"
                                pg_0008.pdf:
                                - page #1 -> #1
                                0.006 bits/pixel; 5.649:1, 82.30% saved, 36852 bytes in, 6524 bytes out

                                "C:Test1pg_0009.pdf" "pg_0009"
                                pg_0009.pdf:
                                - page #1 -> #1
                                0.001 bits/pixel; 15.190:1, 93.42% saved, 14142 bytes in, 931 bytes out

                                "C:Test1pg_0010.pdf" "pg_0010"
                                pg_0010.pdf:
                                - page #1 -> #1
                                0.010 bits/pixel; 4.485:1, 77.70% saved, 45330 bytes in, 10108 bytes out


                                ...



                                So you can do the same in Ubuntu, skip the erroneous pages, and convert rest of the pages into djvu, and then bundle them back into a single DJVU file by using djvm package in Ubuntu from DJVU-Libre.






                                share|improve this answer




























                                  1














                                  This question is specific to pdf2djvu. pdf2djvu and other pdf/djvu FOSS tools are available for both windows and Ubuntu, so I am posting a working solution here.
                                  At the time of writing, I am using pdf2djvu on a Windows machine.



                                  After downloading and splitting your PDF into hundreds of single-page PDFs (using pdftk), I ran pdf2djvu over all files. It turns out that only the Cover page has some problem with pdf2djvu, rest of the PDFs are easily converted to DJVU.
                                  In DOS it was a single line:



                                  FORFILES /M *.pdf /C "cmd /c  echo. & echo @path @fname & C:PDFpdf2djvu-0.7.14pdf2djvu.exe -o @fname.djvu @file"


                                  and the result was:



                                  "C:Test1pg_0001.pdf" "pg_0001"
                                  PDF error (81): Illegal character <3f> in hex string
                                  PDF error (82): Illegal character <78> in hex string
                                  PDF error (83): Illegal character <70> in hex string
                                  ...
                                  ...
                                  PDF error (130): Illegal character <22> in hex string
                                  PDF error (131): Illegal character <3f> in hex string
                                  pg_0001.pdf:
                                  - page #1 -> #1
                                  Bogus memory allocation size

                                  "C:Test1pg_0002.pdf" "pg_0002"
                                  pg_0002.pdf:
                                  - page #1 -> #1
                                  0.006 bits/pixel; 76.076:1, 98.69% saved, 437896 bytes in, 5756 bytes out

                                  "C:Test1pg_0003.pdf" "pg_0003"
                                  pg_0003.pdf:
                                  - page #1 -> #1
                                  0.001 bits/pixel; 15.094:1, 93.37% saved, 14143 bytes in, 937 bytes out

                                  "C:Test1pg_0004.pdf" "pg_0004"
                                  pg_0004.pdf:
                                  - page #1 -> #1
                                  0.002 bits/pixel; 6.835:1, 85.37% saved, 16875 bytes in, 2469 bytes out

                                  "C:Test1pg_0005.pdf" "pg_0005"
                                  pg_0005.pdf:
                                  - page #1 -> #1
                                  0.001 bits/pixel; 15.156:1, 93.40% saved, 14141 bytes in, 933 bytes out

                                  "C:Test1pg_0006.pdf" "pg_0006"
                                  pg_0006.pdf:
                                  - page #1 -> #1
                                  0.006 bits/pixel; 76.103:1, 98.69% saved, 437894 bytes in, 5754 bytes out

                                  "C:Test1pg_0007.pdf" "pg_0007"
                                  pg_0007.pdf:
                                  - page #1 -> #1
                                  0.009 bits/pixel; 3.635:1, 72.49% saved, 32286 bytes in, 8882 bytes out

                                  "C:Test1pg_0008.pdf" "pg_0008"
                                  pg_0008.pdf:
                                  - page #1 -> #1
                                  0.006 bits/pixel; 5.649:1, 82.30% saved, 36852 bytes in, 6524 bytes out

                                  "C:Test1pg_0009.pdf" "pg_0009"
                                  pg_0009.pdf:
                                  - page #1 -> #1
                                  0.001 bits/pixel; 15.190:1, 93.42% saved, 14142 bytes in, 931 bytes out

                                  "C:Test1pg_0010.pdf" "pg_0010"
                                  pg_0010.pdf:
                                  - page #1 -> #1
                                  0.010 bits/pixel; 4.485:1, 77.70% saved, 45330 bytes in, 10108 bytes out


                                  ...



                                  So you can do the same in Ubuntu, skip the erroneous pages, and convert rest of the pages into djvu, and then bundle them back into a single DJVU file by using djvm package in Ubuntu from DJVU-Libre.






                                  share|improve this answer


























                                    1












                                    1








                                    1







                                    This question is specific to pdf2djvu. pdf2djvu and other pdf/djvu FOSS tools are available for both windows and Ubuntu, so I am posting a working solution here.
                                    At the time of writing, I am using pdf2djvu on a Windows machine.



                                    After downloading and splitting your PDF into hundreds of single-page PDFs (using pdftk), I ran pdf2djvu over all files. It turns out that only the Cover page has some problem with pdf2djvu, rest of the PDFs are easily converted to DJVU.
                                    In DOS it was a single line:



                                    FORFILES /M *.pdf /C "cmd /c  echo. & echo @path @fname & C:PDFpdf2djvu-0.7.14pdf2djvu.exe -o @fname.djvu @file"


                                    and the result was:



                                    "C:Test1pg_0001.pdf" "pg_0001"
                                    PDF error (81): Illegal character <3f> in hex string
                                    PDF error (82): Illegal character <78> in hex string
                                    PDF error (83): Illegal character <70> in hex string
                                    ...
                                    ...
                                    PDF error (130): Illegal character <22> in hex string
                                    PDF error (131): Illegal character <3f> in hex string
                                    pg_0001.pdf:
                                    - page #1 -> #1
                                    Bogus memory allocation size

                                    "C:Test1pg_0002.pdf" "pg_0002"
                                    pg_0002.pdf:
                                    - page #1 -> #1
                                    0.006 bits/pixel; 76.076:1, 98.69% saved, 437896 bytes in, 5756 bytes out

                                    "C:Test1pg_0003.pdf" "pg_0003"
                                    pg_0003.pdf:
                                    - page #1 -> #1
                                    0.001 bits/pixel; 15.094:1, 93.37% saved, 14143 bytes in, 937 bytes out

                                    "C:Test1pg_0004.pdf" "pg_0004"
                                    pg_0004.pdf:
                                    - page #1 -> #1
                                    0.002 bits/pixel; 6.835:1, 85.37% saved, 16875 bytes in, 2469 bytes out

                                    "C:Test1pg_0005.pdf" "pg_0005"
                                    pg_0005.pdf:
                                    - page #1 -> #1
                                    0.001 bits/pixel; 15.156:1, 93.40% saved, 14141 bytes in, 933 bytes out

                                    "C:Test1pg_0006.pdf" "pg_0006"
                                    pg_0006.pdf:
                                    - page #1 -> #1
                                    0.006 bits/pixel; 76.103:1, 98.69% saved, 437894 bytes in, 5754 bytes out

                                    "C:Test1pg_0007.pdf" "pg_0007"
                                    pg_0007.pdf:
                                    - page #1 -> #1
                                    0.009 bits/pixel; 3.635:1, 72.49% saved, 32286 bytes in, 8882 bytes out

                                    "C:Test1pg_0008.pdf" "pg_0008"
                                    pg_0008.pdf:
                                    - page #1 -> #1
                                    0.006 bits/pixel; 5.649:1, 82.30% saved, 36852 bytes in, 6524 bytes out

                                    "C:Test1pg_0009.pdf" "pg_0009"
                                    pg_0009.pdf:
                                    - page #1 -> #1
                                    0.001 bits/pixel; 15.190:1, 93.42% saved, 14142 bytes in, 931 bytes out

                                    "C:Test1pg_0010.pdf" "pg_0010"
                                    pg_0010.pdf:
                                    - page #1 -> #1
                                    0.010 bits/pixel; 4.485:1, 77.70% saved, 45330 bytes in, 10108 bytes out


                                    ...



                                    So you can do the same in Ubuntu, skip the erroneous pages, and convert rest of the pages into djvu, and then bundle them back into a single DJVU file by using djvm package in Ubuntu from DJVU-Libre.






                                    share|improve this answer













                                    This question is specific to pdf2djvu. pdf2djvu and other pdf/djvu FOSS tools are available for both windows and Ubuntu, so I am posting a working solution here.
                                    At the time of writing, I am using pdf2djvu on a Windows machine.



                                    After downloading and splitting your PDF into hundreds of single-page PDFs (using pdftk), I ran pdf2djvu over all files. It turns out that only the Cover page has some problem with pdf2djvu, rest of the PDFs are easily converted to DJVU.
                                    In DOS it was a single line:



                                    FORFILES /M *.pdf /C "cmd /c  echo. & echo @path @fname & C:PDFpdf2djvu-0.7.14pdf2djvu.exe -o @fname.djvu @file"


                                    and the result was:



                                    "C:Test1pg_0001.pdf" "pg_0001"
                                    PDF error (81): Illegal character <3f> in hex string
                                    PDF error (82): Illegal character <78> in hex string
                                    PDF error (83): Illegal character <70> in hex string
                                    ...
                                    ...
                                    PDF error (130): Illegal character <22> in hex string
                                    PDF error (131): Illegal character <3f> in hex string
                                    pg_0001.pdf:
                                    - page #1 -> #1
                                    Bogus memory allocation size

                                    "C:Test1pg_0002.pdf" "pg_0002"
                                    pg_0002.pdf:
                                    - page #1 -> #1
                                    0.006 bits/pixel; 76.076:1, 98.69% saved, 437896 bytes in, 5756 bytes out

                                    "C:Test1pg_0003.pdf" "pg_0003"
                                    pg_0003.pdf:
                                    - page #1 -> #1
                                    0.001 bits/pixel; 15.094:1, 93.37% saved, 14143 bytes in, 937 bytes out

                                    "C:Test1pg_0004.pdf" "pg_0004"
                                    pg_0004.pdf:
                                    - page #1 -> #1
                                    0.002 bits/pixel; 6.835:1, 85.37% saved, 16875 bytes in, 2469 bytes out

                                    "C:Test1pg_0005.pdf" "pg_0005"
                                    pg_0005.pdf:
                                    - page #1 -> #1
                                    0.001 bits/pixel; 15.156:1, 93.40% saved, 14141 bytes in, 933 bytes out

                                    "C:Test1pg_0006.pdf" "pg_0006"
                                    pg_0006.pdf:
                                    - page #1 -> #1
                                    0.006 bits/pixel; 76.103:1, 98.69% saved, 437894 bytes in, 5754 bytes out

                                    "C:Test1pg_0007.pdf" "pg_0007"
                                    pg_0007.pdf:
                                    - page #1 -> #1
                                    0.009 bits/pixel; 3.635:1, 72.49% saved, 32286 bytes in, 8882 bytes out

                                    "C:Test1pg_0008.pdf" "pg_0008"
                                    pg_0008.pdf:
                                    - page #1 -> #1
                                    0.006 bits/pixel; 5.649:1, 82.30% saved, 36852 bytes in, 6524 bytes out

                                    "C:Test1pg_0009.pdf" "pg_0009"
                                    pg_0009.pdf:
                                    - page #1 -> #1
                                    0.001 bits/pixel; 15.190:1, 93.42% saved, 14142 bytes in, 931 bytes out

                                    "C:Test1pg_0010.pdf" "pg_0010"
                                    pg_0010.pdf:
                                    - page #1 -> #1
                                    0.010 bits/pixel; 4.485:1, 77.70% saved, 45330 bytes in, 10108 bytes out


                                    ...



                                    So you can do the same in Ubuntu, skip the erroneous pages, and convert rest of the pages into djvu, and then bundle them back into a single DJVU file by using djvm package in Ubuntu from DJVU-Libre.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Jul 2 '14 at 13:05









                                    AdmiralAdmiral

                                    1811311




                                    1811311






























                                        draft saved

                                        draft discarded




















































                                        Thanks for contributing an answer to Ask Ubuntu!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid



                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f51939%2fhow-to-fix-error-in-pdf2djvu-bogus-memory-allocation-size%23new-answer', 'question_page');
                                        }
                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                                        Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                                        Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...