public final class BmpFormat extends ImageFormat
Represents BMP image format.
GroupDocs.Metadata.Formats.Image.ImageFormat
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
close, dispose, 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.
getType
in class FormatBase
public final BmpHeader getHeaderInfo()
Gets the BMP header information.
public void cleanMetadata()
Removes all metadata presented in image. This method is yet supported.
cleanMetadata
in class ImageFormat
Copyright © 2019. All rights reserved.