111112113114115116117118119120121
log.warn("Unable to load image layer from " + rendition.getPath(), e); } catch (IOException e) { log.warn("Unable to load image layer from " + rendition.getPath(), e); } finally { if (layer != null) { layer.dispose(); layer = null; } } }
110111112113114115116117118119120
if (watermark != null) { addWatermark(layer, watermark); } } finally { if (watermark != null) { watermark.dispose(); watermark = null; } } } else { log.info("No watermark specified. Skipping.");