| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | addImageData(byte[]
a portion of image data,
or data)null if all data receivedReceives a portion of image data. |
| protected abstract void | |
| protected abstract String | |
| protected abstract WCImageFrame | |
| protected abstract boolean | |
| protected abstract int | |
| protected abstract int | |
| protected abstract int[] | getFrameSize(int
frame index index)Returns frame size, array[0] represents width and array[1] represents height. |
| protected abstract int[] | |
| protected abstract void |
| WCImageDecoder | back to summary |
|---|---|
| public WCImageDecoder() | |
| addImageData | back to summary |
|---|---|
| protected abstract void addImageData(byte[] data) Receives a portion of image data.
| |
| destroy | back to summary |
|---|---|
| protected abstract void destroy() | |
| getFilenameExtension | back to summary |
|---|---|
| protected abstract String getFilenameExtension() | |
| getFrame | back to summary |
|---|---|
| protected abstract WCImageFrame getFrame(int index) Returns image frame at the specified index.
| |
| getFrameCompleteStatus | back to summary |
|---|---|
| protected abstract boolean getFrameCompleteStatus(int index) Returns whether the frame is complete or partial
| |
| getFrameCount | back to summary |
|---|---|
| protected abstract int getFrameCount() Returns a number of frames of the decoded image.
| |
| getFrameDuration | back to summary |
|---|---|
| protected abstract int getFrameDuration(int index) Returns frame duration in ms
| |
| getFrameSize | back to summary |
|---|---|
| protected abstract int[] getFrameSize(int index) Returns frame size, array[0] represents width and array[1] represents height.
| |
| getImageSize | back to summary |
|---|---|
| protected abstract int[] getImageSize() Returns image size. | |
| loadFromResource | back to summary |
|---|---|
| protected abstract void loadFromResource(String name) | |