public final class DICOMFormat extends ImageFormat
Represents DICOM image format.
Constructor and Description |
---|
DICOMFormat(InputStream input)
Initializes a new instance of the
ImageFormat class. |
DICOMFormat(String fileName)
Initializes a new instance of the
ImageFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Removes all metadata presented in image.
|
DicomMetadata |
getInfo()
Gets the native metadata.
|
int |
getType()
Gets document type.
|
fromFile, fromFile, fromStream, getByteOrder, getHeight, getWidth
close, dispose, dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public DICOMFormat(String fileName)
Initializes a new instance of the ImageFormat
class.
fileName
- Absolute path to the file.public DICOMFormat(InputStream input)
Initializes a new instance of the ImageFormat
class.
input
- File stream.public int getType()
Gets document type.
getType
in class FormatBase
public final DicomMetadata getInfo()
Gets the native metadata.
public void cleanMetadata()
Removes all metadata presented in image. This method is yet supported.
cleanMetadata
in class ImageFormat
Copyright © 2019. All rights reserved.