| Constructor and Description |
|---|
JPEGLRGBReader(java.io.InputStream inputStream)
Instantiates a new JPEGLRGB reader.
|
| Modifier and Type | Method and Description |
|---|---|
static int[] |
combine(int[] green,
byte[] _blue)
Combine.
|
static int[] |
convert(byte[] a)
Convert.
|
static int |
indexOf(int question,
int[] a)
Index of.
|
static java.awt.image.BufferedImage |
invert(java.awt.image.BufferedImage source)
Invert.
|
static int[] |
invert(int[] source)
Invert.
|
static void |
main(java.lang.String[] args)
The main method.
|
PTM |
readPTM()
Read ptm.
|
public JPEGLRGBReader(java.io.InputStream inputStream)
inputStream - the input streampublic static int[] combine(int[] green,
byte[] _blue)
green - the green_blue - the _bluepublic static int[] convert(byte[] a)
a - the apublic static int indexOf(int question,
int[] a)
question - the questiona - the apublic static java.awt.image.BufferedImage invert(java.awt.image.BufferedImage source)
source - the sourcepublic static int[] invert(int[] source)
source - the sourcepublic static void main(java.lang.String[] args)
args - the arguments