Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1256

[PATCH] png graphics are expanded/uncompressed in pdf causing massive file size increase

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Resolution: Fixed
    • 2.5
    • None
    • image/unqualified
    • None
    • Operating System: other
      Platform: PC
    • 40676

    Description

      graphics as png files (total files size about 2 Mb) are expanded to some bitmap?
      representation in pdf leading to a massive increase in file size (from 0.6 Mb
      using version 2 to 10 Mb using version 0.92).

      Is there some way of specifying that compressed graphics should be used in the pdf.

      (The graphics are actually math equations - fairly complicated with integrals
      etc, and some simple graphs of functions like normal distribution. About 30 of
      each, so quite a lot of work to change representation Is there some other
      workaround? vector format?)

      Attachments

        1. test.pdf
          162 kB
          Luis Bernardo
        2. apachefop.patch
          51 kB
          Luis Bernardo
        3. test.tar.gz
          101 kB
          Luis Bernardo
        4. example.tar.gz
          760 kB
          Luis Bernardo
        5. bug40676-findbugs.patch
          2 kB
          Luis Bernardo
        6. fop-png-documentation.patch
          3 kB
          Luis Bernardo
        7. fop-disallowmultiplefilters.patch
          5 kB
          Luis Bernardo
        8. test.tar.gz
          101 kB
          Luis Bernardo
        9. example.tar.gz
          760 kB
          Luis Bernardo
        10. fop-bug40676.patch
          11 kB
          Luis Bernardo
        11. test-iccp.pdf
          583 kB
          Luis Bernardo
        12. example_images_iccp.tar.gz
          583 kB
          Luis Bernardo
        13. test-srgb-rendering_intent.pdf
          931 kB
          Luis Bernardo
        14. example_images_srgb.tar.gz
          925 kB
          Luis Bernardo

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            pbristow@hetp.u-net.com Paul A. Bristow
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: