共用方式為


ImageFormat.CreateFourCCFormat Method

Definition

Create a ImageFormat from FourCC values

public static Azure.AI.Vision.Common.ImageFormat CreateFourCCFormat (char ch1, char ch2, char ch3, char ch4, int width = 0, int height = 0, int stride = 0);
static member CreateFourCCFormat : char * char * char * char * int * int * int -> Azure.AI.Vision.Common.ImageFormat
Public Shared Function CreateFourCCFormat (ch1 As Char, ch2 As Char, ch3 As Char, ch4 As Char, Optional width As Integer = 0, Optional height As Integer = 0, Optional stride As Integer = 0) As ImageFormat

Parameters

ch1
Char
ch2
Char
ch3
Char
ch4
Char
width
Int32
height
Int32
stride
Int32

Returns

A ImageFormat

Applies to