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

    See: web site for more information.

    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 3.5 or higher

    See Also