DicomObjects.NET.8.48 Documentation
DicomObjects.DicomCodecs Namespace / JpegLossless Class / CheckForBadCompression Property

In This Topic
    CheckForBadCompression Property
    In This Topic
    Controls whether or not to check for images badly compressed using very old versions of the COM version.
    Syntax
    'Declaration
     
    
    Public Shared Property CheckForBadCompression As System.Boolean
    public static System.bool CheckForBadCompression {get; set;}
    Remarks

    Setting this to true does impact decompression performance, as each possibly affected image (a sub-set of JPEG lossless types) is decompressed twice, to try to determine which version is more likely to be "correct"

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also