com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class DICOMFormat

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


    public final class DICOMFormat
    extends ImageFormat

    Represents a DICOM image.

    • Constructor Detail

      • DICOMFormat

        public DICOMFormat(String fileName)

        Initializes a new instance of the DICOMFormat class.

        Parameters:
        fileName - A string that contains the full name of the file from which to create a DICOMFormat instance.
      • DICOMFormat

        public DICOMFormat(InputStream input)

        Initializes a new instance of the DICOMFormat class.

        Parameters:
        input - A stream that contains the data for this DICOMFormat.
    • Method Detail

      • getType

        public int getType()

        Gets the type of the loaded file.

        Specified by:
        getType in class FormatBase
        Returns:
        The type of the loaded file.
      • getInfo

        public final DicomMetadata getInfo()

        Gets the native DICOM metadata.

        Returns:
        The native DICOM metadata.
      • cleanMetadata

        public void cleanMetadata()

        Removes writable metadata properties associated with the file. This feature is not supported for this format.


        This feature is not available in trial mode.

        Overrides:
        cleanMetadata in class ImageFormat