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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: image/unqualified
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: PC
    • External issue ID:
      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. apachefop.patch
          51 kB
          Luis Bernardo
        2. bug40676-findbugs.patch
          2 kB
          Luis Bernardo
        3. example_images_iccp.tar.gz
          583 kB
          Luis Bernardo
        4. example_images_srgb.tar.gz
          925 kB
          Luis Bernardo
        5. example.tar.gz
          760 kB
          Luis Bernardo
        6. example.tar.gz
          760 kB
          Luis Bernardo
        7. fop-bug40676.patch
          11 kB
          Luis Bernardo
        8. fop-disallowmultiplefilters.patch
          5 kB
          Luis Bernardo
        9. fop-png-documentation.patch
          3 kB
          Luis Bernardo
        10. test.pdf
          162 kB
          Luis Bernardo
        11. test.tar.gz
          101 kB
          Luis Bernardo
        12. test.tar.gz
          101 kB
          Luis Bernardo
        13. test-iccp.pdf
          583 kB
          Luis Bernardo
        14. test-srgb-rendering_intent.pdf
          931 kB
          Luis Bernardo

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: