共用方式為


FrameFormat.CreateRgbFormat(Int32, Int32, Int32, Int32) Method

Definition

Create a FrameFormat from RGB values

public static Azure.AI.Vision.Common.FrameFormat CreateRgbFormat (int bitsPerPixel, int width, int height, int stride = 0);
static member CreateRgbFormat : int * int * int * int -> Azure.AI.Vision.Common.FrameFormat
Public Shared Function CreateRgbFormat (bitsPerPixel As Integer, width As Integer, height As Integer, Optional stride As Integer = 0) As FrameFormat

Parameters

bitsPerPixel
Int32
width
Int32
height
Int32
stride
Int32

Returns

A FrameFormat

Applies to