changeset 496:1760b19df530

Added getImage method to ImageLoaderDocuImage; added pdf output
author cmielack
date Wed, 11 Feb 2009 16:36:58 +0100
parents 190afddb103f
children 85772b4cd760
files servlet/src/digilib/image/DocuImageImpl.java servlet/src/digilib/image/ImageLoaderDocuImage.java servlet/src/digilib/servlet/DigilibWorker.java
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/servlet/src/digilib/image/DocuImageImpl.java	Wed Feb 11 16:36:57 2009 +0100
+++ b/servlet/src/digilib/image/DocuImageImpl.java	Wed Feb 11 16:36:58 2009 +0100
@@ -20,6 +20,7 @@
 
 package digilib.image;
 
+import java.awt.Image;
 import java.awt.Rectangle;
 import java.io.File;
 import java.io.IOException;
@@ -161,5 +162,6 @@
 		List empty = new LinkedList();
 		return empty.iterator();
 	}
+	
 
 }
--- a/servlet/src/digilib/image/ImageLoaderDocuImage.java	Wed Feb 11 16:36:57 2009 +0100
+++ b/servlet/src/digilib/image/ImageLoaderDocuImage.java	Wed Feb 11 16:36:58 2009 +0100
@@ -19,6 +19,7 @@
 
 package digilib.image;
 
+import java.awt.Image;
 import java.awt.Rectangle;
 import java.awt.RenderingHints;
 import java.awt.geom.AffineTransform;
@@ -561,4 +562,9 @@
 		img = null;
 	}
 
+	public Image getImage(){
+		return (Image) img;
+	}
+	
+	
 }
--- a/servlet/src/digilib/servlet/DigilibWorker.java	Wed Feb 11 16:36:57 2009 +0100
+++ b/servlet/src/digilib/servlet/DigilibWorker.java	Wed Feb 11 16:36:58 2009 +0100
@@ -1,4 +1,4 @@
-/* DigilibWorker.java -- image operation worker
+	/* DigilibWorker.java -- image operation worker
  * 
  * Digital Image Library servlet components
  *