Class CameraCapture
- Namespace
- NuvTools.AspNetCore.Blazor.Components
- Assembly
- NuvTools.AspNetCore.Blazor.dll
A frame captured from the camera.
public sealed class CameraCapture
- Inheritance
-
CameraCapture
- Inherited Members
Properties
Base64
The image content in Base64, already without the data:...;base64, prefix.
public string Base64 { get; }
Property Value
Bytes
The decoded image content.
public byte[] Bytes { get; }
Property Value
- byte[]
ContentType
The MIME type of the captured image, read from DataUrl.
public string ContentType { get; }
Property Value
DataUrl
The full data URL, as produced by the canvas (data:image/jpeg;base64,...).
public required string DataUrl { get; init; }
Property Value
Height
The captured height, in pixels.
public int Height { get; init; }
Property Value
Width
The captured width, in pixels.
public int Width { get; init; }