DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomDataSet Class / DecompressAll Method



In This Topic
    DecompressAll Method (DicomDataSet)
    In This Topic
    Causes all the frames of an image to be decompressed.
    Causes all the frames of an image to be decompressed into a byte array
    Syntax
    'Declaration
     
    
    Public Sub DecompressAll() 
    'Usage
     
    
    Dim instance As DicomDataSet
     
    instance.DecompressAll()
    public void DecompressAll()
    public:
    void DecompressAll(); 
    Remarks

    The normal policy adopted by DicomObjects for the handling of compressed images is to decompress frames only when necessary, and to keep the decompressed versions only for as long as is necessary for display or transmission, thereby minimising image load times, and memory use. This behaviour is not, however, always appropriate, especially when cine sequences are shown, or where modifications need to be made to the image. When this method is called, all frames are decompressed and held in RAM, replacing the original compressed version, thereby greatly speeding subsequent display, though needing much more memory.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also