Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-126

TIFF and PNG images should not be bigger than the ones created by java ImageIO

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-alpha1
    • 1.0-alpha1
    • Format: PNG, Format: TIFF
    • None
    • W7

    Description

      I tried to use Apache Imaging for the PDFBOX project (PDFBOX-1734) because of problems with setting the tiff resolution in java imageio.

      While the code is pretty nice, I found that the generated images are sometimes much bigger in size than the ones generated by java imageio.

      Example:
      pdfbox-1870-devicen3-01.png 50 KB (imageio)
      pdfbox-1870-devicen3.pdf-1.png 70 KB (imaging)

      pdfbox-1870-devicen3-01.tif 401 KB (imageio)
      pdfbox-1870-devicen3.pdf-1.tif 1063 KB (imaging)

      Attachments

        1. pdfbox-1870-devicen3-01.tif
          400 kB
          Tilman Hausherr
        2. pdfbox-1870-devicen3-01.png
          49 kB
          Tilman Hausherr
        3. pdfbox-1870-devicen3.pdf-1.tif
          1.04 MB
          Tilman Hausherr
        4. pdfbox-1870-devicen3.pdf-1.png
          70 kB
          Tilman Hausherr
        5. Imaging_126_patch_2014_12_30.patch
          6 kB
          Gary Lucas

        Issue Links

          Activity

            People

              britter Benedikt Ritter
              tilman Tilman Hausherr
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: