public class DisplayedImageInfo extends AbstractImageInfo
| Modifier and Type | Field and Description |
|---|---|
static int |
DISPLAYED_PORTRAIT_TAG |
static int |
DISPLAYED_SIGNATURE_OR_MARK_TAG |
JPEG_MIME_TYPE, JPEG2000_MIME_TYPE, TYPE_FINGER, TYPE_IRIS, TYPE_PORTRAIT, TYPE_SIGNATURE_OR_MARK, WSQ_MIME_TYPE| Constructor and Description |
|---|
DisplayedImageInfo(InputStream in)
Constructs a displayed image info from binary encoding.
|
DisplayedImageInfo(int type,
byte[] imageBytes)
Constructs a displayed image info from the image bytes.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getRecordLength()
Gets the record length.
|
protected void |
readObject(InputStream inputStream)
Reads the displayed image.
|
protected void |
writeObject(OutputStream outputStream) |
equals, getEncoded, getHeight, getImageInputStream, getImageLength, getMimeType, getType, getWidth, hashCode, readImage, setHeight, setImageBytes, setMimeType, setType, setWidth, toString, writeImagepublic static final int DISPLAYED_PORTRAIT_TAG
public static final int DISPLAYED_SIGNATURE_OR_MARK_TAG
public DisplayedImageInfo(int type,
byte[] imageBytes)
type - one of ImageInfo.TYPE_PORTRAIT or ImageInfo.TYPE_SIGNATURE_OR_MARKimageBytes - encoded image, for Portrait and Signature or mark use JPEG encodingpublic DisplayedImageInfo(InputStream in) throws IOException
in - an input streamIOException - if decoding failsprotected void readObject(InputStream inputStream) throws IOException
readObject in class AbstractImageInfoinputStream - the input stream positioned so that biometric data block tag and length are already readIOException - if reading failsprotected void writeObject(OutputStream outputStream) throws IOException
writeObject in class AbstractImageInfoIOExceptionpublic long getRecordLength()
AbstractImageInfogetRecordLength in interface ImageInfogetRecordLength in class AbstractImageInfoCopyright © 2016. All rights reserved.