DicomObjects.NET.V8
DicomObjects.DicomCodecs Namespace / JpegLossless Class / CheckForBadCompression Property



    CheckForBadCompression Property
    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 Boolean
     
    'Usage
     
    Dim value As Boolean
     
    JpegLossless.CheckForBadCompression = value
     
    value = JpegLossless.CheckForBadCompression
    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.0 or higher

    See Also