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?

Can you move over difficult terrain with only 5 feet of movement?

Differential and Linear trail propagation in Noekeon

What does Jesus mean regarding "Raca," and "you fool?" - is he contrasting them?

Comment Box for Substitution Method of Integrals

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

Is it insecure to send a password in a `curl` command?

Why is there so much iron?

How do hiring committees for research positions view getting "scooped"?

Hausdorff dimension of the boundary of fibres of Lipschitz maps

Knife as defense against stray dogs

Do US professors/group leaders only get a salary, but no group budget?

Practical application of matrices and determinants

Violin - Can double stops be played when the strings are not next to each other?

Optimising a list searching algorithm

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

What favor did Moody owe Dumbledore?

Bash - pair each line of file

Does multi-classing into Fighter give you heavy armor proficiency?

My friend is being a hypocrite

What (if any) is the reason to buy in small local stores?

Should I be concerned about student access to a test bank?

What should I install to correct "ld: cannot find -lgbm and -linput" so that I can compile a Rust program?

Geography in 3D perspective

How could an airship be repaired midflight?



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 10 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

                                        Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                                        Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                                        Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org