fr.imag.adele.util.image
Class Thumbnail
java.lang.Object
fr.imag.adele.util.image.Thumbnail
- public class Thumbnail
- extends Object
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 |
Thumbnail
public Thumbnail()
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.