DicomObjects.NET Core Documentation
DicomObjects.Codecs Namespace / JpegLossless Class / CheckForBadCompression Field



In This Topic
    CheckForBadCompression Field
    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 CheckForBadCompression As Boolean
    'Usage
     
    
    Dim value As Boolean
     
    value = JpegLossless.CheckForBadCompression
     
    JpegLossless.CheckForBadCompression = value
    public static bool CheckForBadCompression
    public:
    static bool CheckForBadCompression
    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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also