public class PPMImageReader
extends java.lang.Object
| Constructor and Description |
|---|
PPMImageReader(java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getHeight() |
java.lang.String |
getType() |
int |
getWidth() |
java.awt.image.BufferedImage |
readFullImage() |
java.awt.Color |
readPixelColor() |
public PPMImageReader(java.io.File file)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getType()
public int getWidth()
public int getHeight()
public java.awt.Color readPixelColor()
throws java.lang.Exception
java.lang.Exceptionpublic void close()
throws java.lang.Exception
java.lang.Exceptionpublic java.awt.image.BufferedImage readFullImage()
throws java.lang.Exception
java.lang.Exception