# HG changeset patch # User robcast # Date 1079117526 -3600 # Node ID 460cd1f18b9634490c62686b8a8acbf2e6bc542a # Parent 1a65d8e43620684cc0b01ae6975ff51c4dc9719d Servlet version 1.18b9 -- cleanup and bugfixes - fixed bug with slow color JPEGs - better pathname handling - better filehandle cleanup (hopefully) diff -r 1a65d8e43620 -r 460cd1f18b96 servlet/src/digilib/image/JAIDocuImage.java --- a/servlet/src/digilib/image/JAIDocuImage.java Fri Mar 12 19:52:06 2004 +0100 +++ b/servlet/src/digilib/image/JAIDocuImage.java Fri Mar 12 19:52:06 2004 +0100 @@ -116,6 +116,7 @@ /* scales the current image */ public void scale(double scale, double scaleY) throws ImageOpException { + logger.debug("scale"); if ((scale < 1) && (img.getColorModel().getPixelSize() == 1) && (quality > 0)) { @@ -410,4 +411,11 @@ img = enhImg; } + /* (non-Javadoc) + * @see digilib.image.DocuImage#dispose() + */ + public void dispose() { + img = null; + } + }