@Deprecated public final class WmfFormat extends ImageFormat
Represents a WMF image format. Please see <a href="https://en.wikipedia.org/wiki/Windows_Metafile">https://en.wikipedia.org/wiki/Windows_Metafile</a>
for more information.
Constructor and Description |
---|
WmfFormat(InputStream input)
Deprecated.
Initializes a new instance of the
WmfFormat class. |
WmfFormat(String fileName)
Deprecated.
Initializes a new instance of the
WmfFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Deprecated.
Removes writable metadata properties associated with the file.
|
int |
getType()
Deprecated.
Gets the type of the loaded file.
|
fromFile, fromFile, fromStream, getByteOrder, getHeight, getWidth
close, dispose, dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public WmfFormat(String fileName)
Initializes a new instance of the WmfFormat
class.
fileName
- A string that contains the full name of the file from which to create a WmfFormat
instance.public WmfFormat(InputStream input)
Initializes a new instance of the WmfFormat
class.
input
- A stream that contains the data for this WmfFormat
.public int getType()
Gets the type of the loaded file.
getType
in class FormatBase
public void cleanMetadata()
Removes writable metadata properties associated with the file. This feature is not supported for this format.
cleanMetadata
in class ImageFormat
Copyright © 2020. All rights reserved.