public class PPMFileInfo extends FileInfo
| Constructor and Description |
|---|
PPMFileInfo(int width,
int height,
boolean RAWBITS,
int max) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump() |
int |
getBitDepth() |
int |
getColorType() |
ImageFormat |
getImageType() |
String |
getImageTypeDescription() |
String |
getMIMEType() |
int |
getNumComponents() |
int |
getRGB(InputStream is) |
int |
getRGB(org.apache.sanselan.formats.pnm.WhiteSpaceReader wsr) |
public int getNumComponents()
getNumComponents in class FileInfopublic int getBitDepth()
getBitDepth in class FileInfopublic ImageFormat getImageType()
getImageType in class FileInfopublic String getImageTypeDescription()
getImageTypeDescription in class FileInfopublic String getMIMEType()
getMIMEType in class FileInfopublic int getColorType()
getColorType in class FileInfopublic int getRGB(InputStream is) throws IOException
getRGB in class FileInfoIOExceptionpublic int getRGB(org.apache.sanselan.formats.pnm.WhiteSpaceReader wsr)
throws IOException
getRGB in class FileInfoIOExceptionCopyright © 2007-2012. All Rights Reserved.