Show: Delphi C++
Display Preferences

FMX.Media.TCameraComponent.SampleBufferToBitmap

From RAD Studio API Documentation
Jump to: navigation, search

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 ABitmap parameter is the bitmap where the image is displayed.
  • The ASetSize parameter specifies whether the video samples are resized to fit the current size of ABitmap, or whether ABitmap is resized to the windows sizes.

See Also

Code Samples

Personal tools
In Other Languages
Previous Versions
Assistance