You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by "Eric Lim (JIRA)" <ji...@apache.org> on 2017/02/27 16:05:45 UTC

[jira] [Created] (XGC-107) [PATCH] ImageLoaderInternalTIFF should close source image file after creating rendered image

Eric Lim created XGC-107:
----------------------------

             Summary: [PATCH] ImageLoaderInternalTIFF should close source image file after creating rendered image
                 Key: XGC-107
                 URL: https://issues.apache.org/jira/browse/XGC-107
             Project: XMLGraphicsCommons
          Issue Type: Bug
          Components: image codecs, image writer
    Affects Versions: 2.0.1, trunk
         Environment: Windows only
            Reporter: Eric Lim
         Attachments: internal_tiff_loader.patch

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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org