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

Example

ImageEnView1.IO.DShowParams.GetSample( destBitmap );

See Also

OnDShowNewFrame