共用方式為


ImageFormat.CreateRgbFormat(Int32, Int32, Int32, Int32) Method

Definition

Create a ImageFormat from RGB values

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

Parameters

bitsPerPixel
Int32
width
Int32
height
Int32
stride
Int32

Returns

A ImageFormat

Applies to