Uploaded image for project: 'XMLGraphicsCommons'
  1. XMLGraphicsCommons
  2. XGC-107

[PATCH] ImageLoaderInternalTIFF should close source image file after creating rendered image

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.1, trunk
    • Fix Version/s: None
    • Component/s: image codecs, image writer
    • Labels:
      None
    • Environment:
      Windows only
    • Flags:
      Patch

      Description

      Windows only.

      The org.apache.xmlgraphics.image.loader.impl.ImageLoaderInternalTIFF class uses org.apache.xmlgraphics.image.codec.tiff.TIFFImage class to render TIFF images. This TIFFImage class is cached and holds on to seekStream which prevents the TIFF image to be deleted after generating a PDF document.

      Note: I embed FOP in my application and it may create temporary image files.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              esclim Eric Lim
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: