public final class BmpFormat extends ImageFormat
Represents BMP image format.
GroupDocs.Metadata.Formats.Image.ImageFormat
filePath, stream
Constructor and Description |
---|
BmpFormat(InputStream input)
Initializes a new instance of the
BmpFormat class. |
BmpFormat(String fileName)
Initializes a new instance of the
BmpFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Removes all metadata presented in image.
|
BmpHeader |
getHeaderInfo()
Gets the BMP header information.
|
int |
getType()
Gets document type.
|
fromFile, fromFile, fromStream, getByteOrder, getHeight, getWidth
dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public BmpFormat(String fileName)
Initializes a new instance of the BmpFormat
class.
fileName
- Absolute path to the file.public BmpFormat(InputStream input)
Initializes a new instance of the BmpFormat
class.
input
- File stream.public int getType()
Gets document type.
Value: Document type.getType
in class FormatBase
public final BmpHeader getHeaderInfo()
Gets the BMP header information.
Value: The header information.public void cleanMetadata()
Removes all metadata presented in image. This method is yet supported.
cleanMetadata
in class ImageFormat
Copyright © 2017. All rights reserved.