|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.asprise.util.tiff.ImageReader
Provides image reading support.
Field Summary | |
static int |
IMAGE_TYPE_BMP
BMP type. |
static int |
IMAGE_TYPE_GIF
GIF type. |
static int |
IMAGE_TYPE_JPEG
JPEG type. |
Constructor Summary | |
ImageReader()
|
Method Summary | |
static java.awt.image.BufferedImage |
readImageAsBufferedImage(java.io.File file)
|
static java.awt.image.BufferedImage |
readImageAsBufferedImage(java.io.InputStream stream,
int type)
Returns a buffered image. |
static java.awt.image.RenderedImage |
readImageAsRenderedImage(java.io.InputStream stream,
int type)
Reads an image into a rendered image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int IMAGE_TYPE_JPEG
public static final int IMAGE_TYPE_GIF
public static final int IMAGE_TYPE_BMP
Constructor Detail |
public ImageReader()
Method Detail |
public static java.awt.image.RenderedImage readImageAsRenderedImage(java.io.InputStream stream, int type) throws java.io.IOException
stream
- type
-
java.io.IOException
public static java.awt.image.BufferedImage readImageAsBufferedImage(java.io.InputStream stream, int type) throws java.io.IOException
stream
- type
-
java.io.IOException
public static java.awt.image.BufferedImage readImageAsBufferedImage(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |