ImageEn, unit ieds

TIEDirectShow.SetCurrentVideoFormat

TIEDirectShow.SetCurrentVideoFormat


Declaration

procedure SetCurrentVideoFormat(width, height: integer; format: AnsiString = '');


Description

Allows you to set the video format. You can read supported formats with the VideoFormats property.
The format parameter is equivalent to VideoFormats.Format. Or you can simply pass an empty string.

Note: To set frame resolution on webcams, you must use the additional parameters of SetVideoInput instead of SetCurrentVideoFormat.