Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

ImageUtils
Project Home Known Issues Contact Project

ImageUtils Issue: Files need closed.

Name: Files need closed.
ID: 7
Project: ImageUtils
Type: Bug
Area: Code
Severity: Normal
Status: Open
Related URL:
Creator: Aaron
Created: 11/27/13 4:20 PM
Updated: 11/27/13 4:20 PM
Description: While looping over a directory of 7000+ tiffs to count the page numbers the server hangs.
Adding:
<cfset LOCAL.FileSeekableStream.close() >
to the line after

<cfset LOCAL.totalPages = LOCAL.decoder.getNumPages() />

in the TiffPageCount function fixed the problem. It appears that there may be several other functions that would benefit from this also.
History: Created by bigfoot13 (Aaron) : 11/27/13 4:20 PM

To add a comment to this bug, please login using the link above.