ImageEn, unit ieds

TIEDirectShow.GetSample

TIEDirectShow.GetSample


Declaration

procedure GetSample(DestBitmap: TIEBitmap; resample: boolean = true);


Description

Copies current sample to the specified bitmap.
You can call this method inside a OnDShowNewFrame event or anywhere you want (for example, on response to a TTimer event).

If resample is true and input is VMR then the image is resampled to the original bitmap size.

Default: True