fr.imag.adele.util.image
Class Thumbnail

java.lang.Object
  extended byfr.imag.adele.util.image.Thumbnail

public class Thumbnail
extends Object


Constructor Summary
Thumbnail()
           
 
Method Summary
static void createThumbnail(String orig, String thumb, int maxDim)
          Reads an image in a file and creates a thumbnail in another file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Thumbnail

public Thumbnail()
Method Detail

createThumbnail

public static void createThumbnail(String orig,
                                   String thumb,
                                   int maxDim)
Reads an image in a file and creates a thumbnail in another file.

Parameters:
orig - The name of image file.
thumb - The name of thumbnail file. Will be created if necessary.
maxDim - The width and height of the thumbnail must be maxDim pixels or less.