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
    'Usage
     
    
    Dim value As System.Boolean
     
    JpegLossless.CheckForBadCompression = value
     
    value = JpegLossless.CheckForBadCompression
    public static System.bool CheckForBadCompression {get; set;}
    public read-write property CheckForBadCompression: System.Boolean; static; 
    public static function get,set CheckForBadCompression : System.boolean
    public: __property static System.bool get_CheckForBadCompression();
    public: __property static void set_CheckForBadCompression( 
       System.bool value
    );
    public:
    static property System.bool CheckForBadCompression {
       System.bool get();
       void set (    System.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.8 or higher

    See Also