This property retrieves the compression format for the video.

[Visual Basic] Public ReadOnly Property Compression As Integer
[C#] public int Compression {get;}

Property Value

An integer representing the compression format. ReadOnly

Explanation

The Compression property retrieves the compression format for the video.

This property is refreshed after executing the Open, SetStreamFormat, or ShowPenDialog methods.

If the image is uncompressed then 0(BI_RGB) or 3(BI_BITFIELDS) is retrieved. For details about the constants within the parentheses, please refer to Windows API. If the image is compressed, an appropriate FourCC code will be retrieved.

See Also

Record Members | Newtone.ImageKit.Wpf.WebCamera.Record

 

The ImageKit WPF is created by Newtone Corporation