|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jimageanalyst.AbstractImageAnalyzer
org.jimageanalyst.analyzer.AnalyzeTga
public class AnalyzeTga
Analyzer for TGA images.
| Constructor Summary | |
|---|---|
AnalyzeTga()
Initialize this analyzer. |
|
| Method Summary | |
|---|---|
boolean |
detectHeader(byte[] data)
Detect the image type. |
ImageInfo |
getInfo(Configuration configuration,
java.io.InputStream inputStream)
Extracts the meta information for the given image. |
| Methods inherited from class org.jimageanalyst.AbstractImageAnalyzer |
|---|
getFormatNames, getHeaderBufSize, getMimeType, getStreamStartPosition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnalyzeTga()
| Method Detail |
|---|
public boolean detectHeader(byte[] data)
data - the image header data
true if this analyzer is responsible
for the given image header
public ImageInfo getInfo(Configuration configuration,
java.io.InputStream inputStream)
throws java.io.IOException,
InvalidDataException
configuration - the configuration to be usedinputStream - the data source object
java.io.IOException - if an IO error occurs while reading data
from the data source
InvalidDataException - if the image contains invalid data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||