public class PGMFileInfo extends FileInfo
Constructor and Description |
---|
PGMFileInfo(int width,
int height,
boolean RAWBITS,
int max) |
Modifier and Type | Method and Description |
---|---|
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 FileInfo
public int getBitDepth()
getBitDepth
in class FileInfo
public ImageFormat getImageType()
getImageType
in class FileInfo
public String getImageTypeDescription()
getImageTypeDescription
in class FileInfo
public String getMIMEType()
getMIMEType
in class FileInfo
public int getColorType()
getColorType
in class FileInfo
public int getRGB(InputStream is) throws IOException
getRGB
in class FileInfo
IOException
public int getRGB(org.apache.sanselan.formats.pnm.WhiteSpaceReader wsr) throws IOException
getRGB
in class FileInfo
IOException
Copyright © 2007-2012. All Rights Reserved.