FMX.Media.TCameraComponent.SampleBufferToBitmap
Delphi
procedure SampleBufferToBitmap(const ABitmap: TBitmap; const ASetSize: Boolean);
C++
void __fastcall SampleBufferToBitmap(Fmx::Graphics::TBitmap* const ABitmap, const bool ASetSize);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TCameraComponent |
Description
Displays the captured data on a bitmap.
The SampleBufferToBitmap method displays the captured video data on a bitmap.
- The
ABitmapparameter is the bitmap where the image is displayed.
- The
ASetSizeparameter specifies whether the video samples are resized to fit the current size ofABitmap, or whetherABitmapis resized to the windows sizes.
See Also
- FMX.Media.TCameraComponent.Active
- FMX.Media.TCameraComponent.Quality
- FMX.Media.TCameraComponent.CaptureSetting
- FMX.Media.TCameraComponent.OnSampleBufferReady