DicomObjects.NET.V8
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 Boolean
    'Usage
     
    Dim value As Boolean
     
    JpegLossless.CheckForBadCompression = value
     
    value = JpegLossless.CheckForBadCompression
    public static bool CheckForBadCompression {get; set;}
    public:
    static property bool CheckForBadCompression {
       bool get();
       void set (    bool value);
    }
    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