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

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


    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: image/unqualified
    • Labels:
    • Environment:
      Operating System: other
      Platform: PC
    • External issue ID:


      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?)


        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



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


              • Created: