DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / ReadBehaviours Class / IgnoreIconLengths Property

In This Topic
    IgnoreIconLengths Property
    In This Topic
    Ignore the lengths of the pixel data in icon sequences
    Syntax
    'Declaration
     
    
    Public Property IgnoreIconLengths As System.Boolean
    public System.bool IgnoreIconLengths {get; set;}
    Remarks

    The default value of this property is derived from the IgnoreIconLengths value of the internal registry, which in turn has a default value of 0, causing this property to be false.

    Many manufacturers (including the largest!) still create images containing ICON images (either in the official DICOM icon sequence - 0088,0200 or in private sequences) which are badly formatted with innappropriate length (commonly being compressed, when the DICOM rules require them to be compressed). If set, this property causes such pixel data to be treated simply as a byte array, ignoring the length (but disabling transfer syntax conversion of it)

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also